rust/library/std/src/sys
Mara Bos ad6fd9b037
Rollup merge of #79039 - thomcc:weakly-relaxing, r=Amanieu
Tighten the bounds on atomic Ordering in std::sys::unix::weak::Weak

This moves reading this from multiple SeqCst reads to Relaxed read + Acquire fence if we are actually going to use the data.

Would love to avoid the Acquire fence, but doing so would need Ordering::Consume, which neither Rust, nor LLVM supports (a shame, since this fence is hardly free on ARM, which is what I was hoping to improve).

r? ``@Amanieu`` (Sorry for always picking you, but I know a lot of people wouldn't feel comfortable reviewing atomic ordering changes)
2020-11-18 15:46:27 +01:00
..
cloudabi Make the libstd build script smaller 2020-11-15 16:17:21 +01:00
hermit Rollup merge of #74979 - maekawatoshiki:fix, r=Mark-Simulacrum 2020-11-07 01:01:59 +09:00
sgx Rollup merge of #78138 - fortanix:raoul/dlmalloc0.2, r=Mark-Simulacrum 2020-11-17 10:06:16 +01:00
unix Rollup merge of #79039 - thomcc:weakly-relaxing, r=Amanieu 2020-11-18 15:46:27 +01:00
unsupported Rollup merge of #77722 - fusion-engineering-forks:safe-unsupported-locks, r=Mark-Simulacrum 2020-10-14 06:02:21 +09:00
vxworks Take some of sys/vxworks/process/* from sys/unix instead. 2020-10-16 06:22:05 +02:00
wasi Rollup merge of #77722 - fusion-engineering-forks:safe-unsupported-locks, r=Mark-Simulacrum 2020-10-14 06:02:21 +09:00
wasm Rollup merge of #78138 - fortanix:raoul/dlmalloc0.2, r=Mark-Simulacrum 2020-11-17 10:06:16 +01:00
windows Make the libstd build script smaller 2020-11-15 16:17:21 +01:00
mod.rs add hermit to the list of omit OS 2020-10-11 11:56:09 +02:00