about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-05-29 04:49:46 +0200
committerGitHub <noreply@github.com>2025-05-29 04:49:46 +0200
commitf4dcb7fad0f63e808d7756299589c3cf69f7055e (patch)
tree3bec2c584271ff7a9f7adb3b3cbcb3966fa0adfa /compiler/rustc_codegen_gcc
parent643f9c2f111e627ebf7c59e448f159ed05062c3f (diff)
parent2593df8837f330301b5679e33efd54f36ba43c43 (diff)
downloadrust-f4dcb7fad0f63e808d7756299589c3cf69f7055e.tar.gz
rust-f4dcb7fad0f63e808d7756299589c3cf69f7055e.zip
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](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`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions