Skip to content

Use .init_array section on wasi and emscripten#74

Merged
dtolnay merged 1 commit intodtolnay:masterfrom
georgestagg:emscripten
Dec 20, 2024
Merged

Use .init_array section on wasi and emscripten#74
dtolnay merged 1 commit intodtolnay:masterfrom
georgestagg:emscripten

Conversation

@georgestagg
Copy link
Copy Markdown
Contributor

@georgestagg georgestagg commented Dec 19, 2024

Thanks to some recent work on how LLVM handles .init_array for WebAssembly targets, the emscripten and wasi OSs should now work as of LLVM 19.1.6 and Rust nightly-2024-12-19.

More information and an example is in the comment and thread at #71 (comment).

@dtolnay dtolnay linked an issue Dec 20, 2024 that may be closed by this pull request
Copy link
Copy Markdown
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay dtolnay merged commit e42b712 into dtolnay:master Dec 20, 2024
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.

Wasm support

2 participants