Skip to content
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

Adjust the wasm32-unknown-unknown atomic docs #382

Merged
merged 1 commit into from
May 26, 2023

Conversation

daxpedda
Copy link
Contributor

@daxpedda daxpedda commented May 12, 2023

Currently the documentation on how to target wasm32-unknown-unknown with -C target-feature=+atomics is incorrect and will yield compile errors.

This is because wasm32-unknown-unknown doesn't support unwinding, but -Zbuild-std doesn't support automatic selection of the correct panic strategy, so this has to be set manually with -Zbuild-std=panic_abort,std.

This PR corrects the documentation to reflect this.

See rust-lang/wg-cargo-std-aware#29.

Fixes #267.

@Amanieu Amanieu merged commit 43dc3f9 into Amanieu:master May 26, 2023
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.

wasm32::memory_atomic_wait32 not found
2 participants