rust/library/core
Jacob Pratt f4dcb7fad0
Rollup merge of #141687 - RalfJung:atomic_compare_exchange, r=bjorn3
core: unstably expose atomic_compare_exchange so stdarch can use it

Due to https://github.com/rust-lang/stdarch/issues/1655, cleaning up the atomic intrinsics will be a bunch of extra work: stdarch directly calls them [here](8764244589/crates/core_arch/src/x86_64/cmpxchg16b.rs (L58-L74)).

Instead of duplicating that match, stdarch should use what we have in libcore, so let's expose that.

r? `@bjorn3`
2025-05-29 04:49:46 +02:00
..
src Rollup merge of #141687 - RalfJung:atomic_compare_exchange, r=bjorn3 2025-05-29 04:49:46 +02:00
Cargo.toml Initial implementation of core_float_math 2025-05-13 22:08:18 +00:00