rust/library/std/src/sys
Andrew Brown da638b3a9f 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.
2022-10-10 08:58:09 -07:00
..
common Reduce CString allocations in std as much as possible 2022-10-03 11:13:17 -07:00
hermit Reduce CString allocations in std as much as possible 2022-10-03 11:13:17 -07:00
itron std: make ReentrantMutex movable and const; simplify Stdout initialization 2022-09-03 14:05:28 +02:00
sgx Rollup merge of #100823 - WaffleLapkin:less_offsets, r=scottmcm 2022-09-24 14:29:52 +02:00
solid Reduce CString allocations in std as much as possible 2022-10-03 11:13:17 -07:00
unix Auto merge of #102850 - JohnTitor:rollup-lze1w03, r=JohnTitor 2022-10-09 18:15:26 +00:00
unsupported Auto merge of #98457 - japaric:gh98378, r=m-ou-se 2022-09-25 04:12:30 +00:00
wasi Allow compiling the wasm32-wasi std library with atomics 2022-10-10 08:58:09 -07:00
wasm std: use sync::RwLock for internal statics 2022-09-19 23:27:26 +02:00
windows SetFileTime doesn't allow setting the file time to 0xFFFF_FFFF_FFFF_FFFF 2022-10-01 03:23:08 +01:00
mod.rs Reduce CString allocations in std as much as possible 2022-10-03 11:13:17 -07:00