Repository navigation
[test] Remove stale STRICT-only -lhtml5/-lGL workarounds in MAIN_MODULE tests - #28456
Merged
juj merged 1 commit intoDec 1, 2026
Merged
Conversation
juj
enabled auto-merge (squash)
November 30, 2026 22:16
…LE tests test_pthread_dylink_main_module_1 and test_gl_main_module passed -lhtml5 and -lGL only under -sSTRICT, with a TODO noting that the flag was required in STRICT mode but caused duplicate symbol errors otherwise. Neither half of that is true any more: -sSTRICT -sMAIN_MODULE=1 links the automatic system libraries without the explicit flag, and since emscripten-core#25449 tools/link.py skips system libraries that the user already passed, so an explicit -lhtml5/-lGL no longer produces duplicate symbols either. See emscripten-core#24436. Co-Authored-By: Claude Fable 5.2 <[email protected]>
juj
force-pushed
the
remove_strict_main_module_lib_workarounds
branch
from
December 1, 2026 10:50
9173f66 to
0687e7f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
test_pthread_dylink_main_module_1 and test_gl_main_module passed -lhtml5 and -lGL only under -sSTRICT, with a TODO noting that the flag was required in STRICT mode but caused duplicate symbol errors otherwise.
Neither half of that is true any more: -sSTRICT -sMAIN_MODULE=1 links the automatic system libraries without the explicit flag, and since #25449 tools/link.py skips system libraries that the user already passed, so an explicit -lhtml5/-lGL no longer produces duplicate symbols either.
See #24436.