emscripten
emscripten copied to clipboard
Emscripten: An LLVM-to-WebAssembly Compiler
**Version of emscripten/emsdk:** emscripten/emsdk:3.1.56 (a little behind I know, but I couldn't see any recent changes that looked relevant. I will try updating soon.) I think this is a follow...
This PR fixes emscripten's patched `CheckTypeSize` CMake module to work when compiler flags imply shared memory use. Before this change, trying to configure a CMake project that uses `check_type_size` when...
`emcc` fails when generating typescript definitions when a dynamic library is being linked. Here's a zip file that contains some sample code that reproduces the issue. Run `build.sh` at the...
Can `std::thread::join()` be used in the main thread after calling `emscripten_set_main_loop` and `emscripten_cancel_main_loop` in a child thread? If not, what is the correct way to ensure the thread is terminated...
This patch fixes an issue related to defining the buffer size before drawing. It introduces a slight overhead of O(N), however, it should not significantly impact performance. One option to...
I'm looking to narrow down a build issue. I am compiling opencv4 via ```bash vcpkg install opencv4:wasm32-emscripten --editable ``` and have modified a bad header to `#include ` as it...
Instead we can just always use the same technique to define `Module` in `shell_minimal.js`, regardless of the target environment. This simplifies the code and reduces code size.
Fixes https://github.com/emscripten-core/emscripten/issues/22300.
This is wrapper around clang-scan-deps. Currently this is just enough to make C++20 work under cmake. We don't currently have any actaully tests of C++20 modules. See: #21042 Fixes: #21866...
EMSDK needs to include "clang-scan-deps" tool, as CMake 3.28 with C++20 and clang compiler always runs this tool. This CMake produces the error, test.cpp could be empty: ```cmake cmake_minimum_required(VERSION 3.5...3.28)...