-
Notifications
You must be signed in to change notification settings - Fork 3.5k
More minimal runtime code building #10337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
juj
merged 17 commits into
emscripten-core:master
from
juj:more_minimal_runtime_code_building
Feb 6, 2020
+205
−92
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
86c1821
More tests working with MINIMAL_RUNTIME in Wasm backend. ASan support…
juj c6750f3
LSan works too
juj 2d41a68
Enable more of the core test suite to build on MINIMAL_RUNTIME.
juj 91e9008
More core test suite working in MINIMAL_RUNTIME.
juj 77a59a2
Add missing printf deps in MINIMAL_RUNTIME
juj d8c014e
Stack functions are not a JS library function in Wasm backend.
juj 6ef4ad9
Cleanup
juj 5c7978c
cleanup
juj 0f958f4
assert() behind ASSERTIONS.
juj b7ff1d3
Fix Closure + Wasm2JS build.
juj b3eb482
Flake and fix dladdr
juj 7375c20
Revise fflush() behavior in MINIMAL_RUNTIME
juj 1ee1372
Drop memcpy and memset by default
juj cb62bc6
Fix deletion of DEFAULT_LIBRARY_FUNCS_TO_INCLUDE exports
juj f46a995
Fix location of MINIMAL_RUNTIME reading
juj 50dea26
Clear DEFAULT_LIBRARY_FUNCS_TO_INCLUDE for MINIMAL_RUNTIME
juj ce20cb4
Rename _get_executable_name to _getExecutableName.
juj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about erroring if
DEFAULT_LIBRARY_FUNCS_TO_INCLUDEis in settings_changes? (That is, error if the user tries to add stuff which are otherwise removed silently here.)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The intent is to enable user to pass stuff explicitly from command line. I.e. if user wants to do
-s DEFAULT_LIBRARY_FUNCS_TO_INCLUDE =[malloc]in MINIMAL_RUNTIME, then we should include malloc.