Files
Max Desiatov 5efba9094d Merge pull request #89768 from MaxDesiatov/maxd/emscripten/01-emscripten-build-system
# CMake: Add Emscripten build system configuration

Wire the `wasm32-unknown-emscripten` target through the build infrastructure. No Swift stdlib code yet.

- Product classes `EmscriptenSysroot` and `EmscriptenLLVMRuntimeLibs` (emsdk sysroot + compiler-rt builtins), `EmscriptenStdlib` (configures the stdlib + SDK overlay against the sysroot), `EmscriptenSwiftSDK` (bundles the artifacts into a Swift SDK archive).
- CLI flags `--build-emscripten-stdlib`, `--skip-test-emscripten-stdlib`, `--emscripten-path`. Default build flows are unaffected unless `--build-emscripten-stdlib` is passed.
- `utils/wasm/emscripten-run.py` runner (Node.js), alongside `utils/wasm/wasi-run.py`.
- `SwiftUtils.cmake` adds `is_wasm_sdk()` so `test/CMakeLists.txt` derives the per-SDK embedded test target instead of hardcoding WASI.
- `stdlib/public/CMakeLists.txt` and `test/CMakeLists.txt` handle the `EMSCRIPTEN` SDK but stay inert until `SWIFT_EMSCRIPTEN_SYSROOT_PATH` is set, which only happens via `--build-emscripten-stdlib`.
2026-06-09 17:56:43 +01:00
..
2025-12-15 21:52:02 -08:00
…
…
…
2026-01-25 21:54:48 +00:00
…
…
2025-06-25 13:20:30 -07:00
2026-02-14 16:52:51 -08:00
…
2026-03-27 14:52:37 -07:00