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.
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 https://github.com/rust-lang/wg-cargo-std-aware/issues/29.
Fixes #267.