summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/mixins/emscripten.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix WASM thread count option. Closes #7921.Jussi Pakkanen2020-11-091-2/+2
|
* compilers: Tell mypy that the compiler mixins are just thatDylan Baker2020-09-241-9/+9
| | | | | | We do this by making the mixins inherit the Compiler class only when mypy is examining the code (using some clever inheritance shenanigans). This caught a bunch of issues, and also lets us delete a ton of code.
* compilers/mixins/emscripten: make type safeDylan Baker2020-09-241-4/+11
|
* linkers/compilers: Move an emscripten method to the compilerDylan Baker2020-09-161-0/+7
| | | | This needed an attribute the linker doesn't have.
* compilers/linkers: Add a representation for wasm-ldDylan Baker2020-02-271-20/+0
| | | | | | | Emscripten does have a stand alone linker, wasm-ld. This patch adds the linker, adds detection for the linker, and removes the IsLinkerMixin for emscripten. This is a little more correct, and makes the code a lot cleaner and more robust.
* compilers/mixins/emscripten: Implement thread supportDylan Baker2020-02-271-0/+26
| | | | | | | | | | | Emscripten has pthread support (as well as C++ threads), but we don't currently implement them. This fixes that by adding the necessary code. The one thing I'm not sure about is setting the pool size. The docs suggest that you really want to do this to ensure that your code works correctly, but the number should really be configurable, not sure how to set that. Fixes #6684
* compilers/emcc: Fix inheritance orderDylan Baker2020-02-271-0/+1
| | | | | | Sot hat the BasicLinkerIsCompilerMixin comes before ClangCCompiler, which hides its "call the linker" methods, as emcc doesn't have a separate linker.
* types: import typing as T (fixes #6333)Daniel Mensinger2020-01-081-3/+3
|
* Fix typos found by codespellWolfgang Stöggl2019-11-061-1/+1
| | | | - Typos were found by codespell v1.16.0
* emscripten: fix false positives in linking testsAndrei Alexeyev2019-10-181-0/+13
|
* Refactor duplicate Emscripten code into a mixinAndrei Alexeyev2019-10-181-0/+33