-
-
Notifications
You must be signed in to change notification settings - Fork 58
fix shared lib symbol export #308
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
Merged
Conversation
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
With this flag, no symbols are exported in the shared library, making it impossible to interface with.
This was referenced Aug 19, 2025
Merged
Contributor
Author
|
/cc @nodejs/wasi |
Contributor
|
I'd personally prefer to be explicit here about interface requirements with Node.js, and would favour exporting what is needed. |
guybedford
approved these changes
Sep 2, 2025
-fvisibility=hidden from the build flags
aduh95
added a commit
that referenced
this pull request
Sep 2, 2025
Notable changes: - Disallow malformed path with null byte (#266) (7aaa0b4) - Preserve trailing slash in file path (#268) (afffaaa) - Disallow absolute path at the raw WASI level (#270) (9811374) - Error if creating symlink to absolute path (#272) (c8d4f01) - Add cflite and document normalize path (#280) (6eeddba) - Resolve old_path in uvwasi_path_symlink() (#303) (98da5ad) - Use index rather than `telldir`/`seekdir` to represent `fd_readdir` cookie (#298) (392e1f1) - fix: static library name (#305) (146e516) - fix: do not put header files in a subfolders (#302) (ec28b58) - fix: explicitly export symbols (#308) (4e9b4e0)
carlocab
added a commit
to Homebrew/homebrew-core
that referenced
this pull request
Sep 3, 2025
This was fixed upstream in nodejs/uvwasi#308. Also, let's apply nodejs/uvwasi#311 to ensure that all the symbols that Node needs are exported.
6 tasks
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.
With this flag, no symbols are exported in the shared library, making it impossible to interface with.
Another approach would be to mark only the symbols we actually want to export, but I think it's fine to export all the non-static ones.