Repository navigation
Remove internal emscripten_get_module_name helper. NFC - #21828
Merged
sbc100 merged 1 commit intoApr 25, 2024
Merged
Conversation
sbc100
force-pushed
the
remove_emscripten_get_module_name
branch
2 times, most recently
from
April 25, 2024 15:53
2f5f868 to
de04326
Compare
sbc100
force-pushed
the
remove_emscripten_get_module_name
branch
from
April 25, 2024 16:11
de04326 to
51bba4c
Compare
emscripten_get_module_name helper. NFC
dschuff
approved these changes
Apr 25, 2024
kripken
approved these changes
Apr 25, 2024
This helper was added when we implement sanitizes in emscripten-core#8651. It was never added to any public header file and should only have these two internal users. Instead of this function we can just use the existing internal `_emscripten_get_progname` function, which can in turn then be implemented in terms of the existing `getExecutableName` JavaScript function.
sbc100
force-pushed
the
remove_emscripten_get_module_name
branch
from
April 25, 2024 17:30
51bba4c to
d9188c4
Compare
sbc100
enabled auto-merge (squash)
April 25, 2024 17:34
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.
This helper was added when we implement sanitizes in #8651. It was never added to any public header file and should only have these two internal users.
Instead of this function we can just use the existing internal
_emscripten_get_prognamefunction, which can in turn then be implemented in terms of the existinggetExecutableNameJavaScript function.