rust/library/std
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
..
benches
src Rollup merge of #79039 - thomcc:weakly-relaxing, r=Amanieu 2020-11-18 15:46:27 +01:00
tests Updated documentation, x86 feature detection testing, and removed LLVM 9 exclusive features 2020-10-26 08:36:14 +01:00
build.rs Make the libstd build script smaller 2020-11-15 16:17:21 +01:00
Cargo.toml Rollup merge of #78138 - fortanix:raoul/dlmalloc0.2, r=Mark-Simulacrum 2020-11-17 10:06:16 +01:00