Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jul 1, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.2)

Can you help keep this open source service alive? 💖 Please sponsor : )

Summary by Sourcery

Add multi-threaded build targets across libraries, refine embind memory64 lowering for Node compatibility, and update related tests and code size baselines

Enhancements:

  • Add multi-threaded and debug multi-threaded tasks for various libraries in embuilder minimal and PIC build sets
  • Lower MEMORY64 to proposal version 2 during embind generation to support Node.js versions below v24 and remove duplicate lowering logic

Tests:

  • Parameterize memory64 embind TypeScript generation test to include pthread scenarios
  • Update code size baseline files for various C++ test cases after recent changes

github-actions bot and others added 2 commits July 1, 2025 11:11
This is an automatic change generated by
tools/maint/rebaseline_tests.py.

The following (10) test expectation files were updated by
running the tests with `--rebaseline`:

```
code_size/random_printf_wasm2js.json: 17233 => 17224 [-9 bytes / -0.05%]
other/codesize/test_codesize_cxx_ctors1.size: 129708 => 129600 [-108 bytes / -0.08%]
other/codesize/test_codesize_cxx_ctors2.size: 129105 => 128981 [-124 bytes / -0.10%]
other/codesize/test_codesize_cxx_except.size: 171375 => 171346 [-29 bytes / -0.02%]
other/codesize/test_codesize_cxx_except_wasm.size: 144826 => 144725 [-101 bytes / -0.07%]
other/codesize/test_codesize_cxx_except_wasm_legacy.size: 142416 => 142307 [-109 bytes / -0.08%]
other/codesize/test_codesize_cxx_lto.size: 121941 => 121852 [-89 bytes / -0.07%]
other/codesize/test_codesize_cxx_mangle.size: 235444 => 235415 [-29 bytes / -0.01%]
other/codesize/test_codesize_cxx_noexcept.size: 132081 => 131986 [-95 bytes / -0.07%]
other/codesize/test_codesize_cxx_wasmfs.size: 169937 => 169852 [-85 bytes / -0.05%]

Average change: -0.06% (-0.10% - -0.01%)
```

Co-authored-by: emscripten-bot <emscripten-bot@users.noreply.github.com>
We already lower memory64 away when running TS generation, but we were
not generating a lowered version of the JS which caused us to try and
use a BigInt when creating the memory.

Fixes #24623
@pull pull bot locked and limited conversation to collaborators Jul 1, 2025
@pull pull bot added the ⤵️ pull label Jul 1, 2025
@pull pull bot merged commit 31a6f1e into Stars1233:main Jul 1, 2025
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant