Commit 6ca7846
authored
Unrolled build for #141687
Rollup merge of #141687 - RalfJung:atomic_compare_exchange, r=bjorn3
core: unstably expose atomic_compare_exchange so stdarch can use it
Due to rust-lang/stdarch#1655, cleaning up the atomic intrinsics will be a bunch of extra work: stdarch directly calls them [here](https://github.com/rust-lang/stdarch/blob/8764244589373b8b48864c0ad11fd9233c672249/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`1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3885 | 3885 | | |
3886 | 3886 | | |
3887 | 3887 | | |
| 3888 | + | |
3888 | 3889 | | |
3889 | 3890 | | |
3890 | 3891 | | |
3891 | | - | |
| 3892 | + | |
| 3893 | + | |
| 3894 | + | |
3892 | 3895 | | |
3893 | 3896 | | |
3894 | 3897 | | |
| |||
0 commit comments