summaryrefslogtreecommitdiff
path: root/test cases/wasm
AgeCommit message (Collapse)Author
2024-10-04Fix C++ standard support for EmscriptenElliott Sales de Andrade
The first versions of Emscripten that correspond with the Clang version Meson uses to determine flag support don't actually support the expected flags. So I went through and picked the first version that actually worked with the expected flags. Fixes #13628
2024-05-19Fix handling of C standard support for Emscripten.Ralf Gommers
Emscripten version numbers are unrelated to Clang version numbers, so it is necessary to change the version checks for `c_std=c17` & co. Without that, no project that defaults to C17 or newer will build with Emscripten. See https://github.com/pyodide/pyodide/discussions/4762 for more context. Also note that this bug caused defaulting to C17 in scikit-learn to be reverted (scikit-learn#29015), and it may be a problem for SciPy 1.14.0 too since that release will upgrade from C99 to C17. Co-authored-by: Loic Esteve <loic.esteve@ymail.com>
2021-08-15editorconfig: add setting to trim trailing whitespaceEli Schwartz
and clean up all outstanding issues Skip 'test cases/common/141 special characters/meson.build' since it intentionally uses trailing newlines.
2021-08-08Add support for finding Javascript source libraries with Emscripten.Jussi Pakkanen
2020-02-27compilers/mixins/emscripten: Implement thread supportDylan Baker
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
2020-02-27tests/wasm: Add C language as well as C++ language to testDylan Baker
2019-11-18Use strict function prototypesMichael Hirsch, Ph.D
2019-08-05Add basic Webassembly support via Emscripten.Jussi Pakkanen