diff options
author | bors <bors@rust-lang.org> | 2022-10-13 00:37:28 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-10-13 00:37:28 +0000 |
commit | 2a9217601c0e5ae83fa8bca6797137a6d2f7e4e5 (patch) | |
tree | c25ae335d6dc9bd35d582122abccbfcda152eab8 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 0938e1680daf66ca6aad428aedf9a920a0dab5ad (diff) | |
parent | 95b0b2d34956c232ace714c1f5971b20e2767c6c (diff) | |
download | rust-2a9217601c0e5ae83fa8bca6797137a6d2f7e4e5.tar.gz |
Auto merge of #102372 - abrown:issue-102157, r=thomcc
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 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions