Skip to content

Import a data symbol for libdl.so - #2588

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:update-libdl-linking
Jul 31, 2026
Merged

Import a data symbol for libdl.so#2588
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:update-libdl-linking

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

This commit replaces the __wasm_set_libraries protocol with a direct data symbol import of the structure necessary for libdl.so. This is synthesized on-the-fly as a global which is imported into the final module. The build is additionally updated to wasi-sdk-33

This commit replaces the `__wasm_set_libraries` protocol with a direct
data symbol import of the structure necessary for `libdl.so`. This is
synthesized on-the-fly as a global which is imported into the final
module. The build is additionally updated to wasi-sdk-33
@alexcrichton
alexcrichton requested a review from dicej July 31, 2026 02:40
@alexcrichton
alexcrichton requested a review from a team as a code owner July 31, 2026 02:40
@alexcrichton
alexcrichton added this pull request to the merge queue Jul 31, 2026
Merged via the queue into bytecodealliance:main with commit dce7a7a Jul 31, 2026
37 checks passed
@alexcrichton
alexcrichton deleted the update-libdl-linking branch July 31, 2026 15:29
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