diff options
| author | Andrew Brown <andrew.brown@intel.com> | 2022-09-27 11:50:47 -0700 |
|---|---|---|
| committer | Andrew Brown <andrew.brown@intel.com> | 2022-10-10 08:58:09 -0700 |
| commit | da638b3a9f32974c41439be6834670d7a438faa3 (patch) | |
| tree | 30d3db182d897ff5e4dda828221f4dda91c27253 /compiler/rustc_hir_analysis/src/structured_errors.rs | |
| parent | 0265a3e93bf1b89d97cae113ed214954d5c35e22 (diff) | |
| download | rust-da638b3a9f32974c41439be6834670d7a438faa3.tar.gz rust-da638b3a9f32974c41439be6834670d7a438faa3.zip | |
Allow compiling the `wasm32-wasi` std library with atomics
The issue #102157 demonstrates how currently the `-Z build-std` option will fail when re-compiling the standard library with `RUSTFLAGS` like `RUSTFLAGS="-C target-feature=+atomics,+bulk-memory -C link-args=--shared-memory"`. This change attempts to resolve those build issues by depending on the the WebAssembly `futex` module and providing an implementation for `env_lock`. Fixes #102157.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions
