Skip to content

Conversation

@juj
Copy link
Collaborator

@juj juj commented Aug 27, 2025

This PR adds a new bigendian0 test suite that can be used to verify big endian compilation support.

# The above test scheme has a small quirk that it will also use the Big Endian version of node.js for internal
# Emscripten compilation. At a quick test, this actually worked, so maybe this would be fine for this test harness.
# Alternatively, we would want to find a way to separate compiler node from runtime node somehow in the harness.
bigendian0 = make_run('bigendian0', cflags=['-O0'], settings={'SUPPORT_BIG_ENDIAN': 1})
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These instruction can be updated to use NODE_JS_TEST

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't able to make NODE_JS_TEST to work so far. See #25063 (comment)

@juj juj merged commit 5c9a00c into emscripten-core:main Aug 27, 2025
28 of 30 checks passed
sbc100 added a commit to sbc100/emscripten that referenced this pull request Aug 28, 2025
The change to make this config as experimental (emscripten-core#25058) raced with that
adding of the test suite (emscripten-core#25068).

Adding `-Wno-experimental` here like we do for other such configurations
(e.g. wasm64).
juj pushed a commit that referenced this pull request Aug 28, 2025
The change to make this config as experimental (#25058) raced with that
adding of the test suite (#25068).

Adding `-Wno-experimental` here like we do for other such configurations
(e.g. wasm64).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants