diff options
| author | The Miri Cronjob Bot <miri@cron.bot> | 2025-05-12 05:01:00 +0000 |
|---|---|---|
| committer | The Miri Cronjob Bot <miri@cron.bot> | 2025-05-12 05:01:00 +0000 |
| commit | 7479482e2166e82b46d621b2759c6af0dda820e8 (patch) | |
| tree | 646043ebdc679f5d8da3ae7c5858a0ad2a8a38e5 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs | |
| parent | 30eca8ba9160bf18c4f0a3c9bb760d270f012240 (diff) | |
| parent | 718ddf660e6a1802c39b4962cf7eaa4db57025ef (diff) | |
| download | rust-7479482e2166e82b46d621b2759c6af0dda820e8.tar.gz rust-7479482e2166e82b46d621b2759c6af0dda820e8.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index ffb490dcdc2..a249cb86ed4 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -415,6 +415,7 @@ impl AtomicRmwBinOp { pub(crate) enum AtomicOrdering { #[allow(dead_code)] NotAtomic = 0, + #[allow(dead_code)] Unordered = 1, Monotonic = 2, // Consume = 3, // Not specified yet. @@ -428,7 +429,6 @@ impl AtomicOrdering { pub(crate) fn from_generic(ao: rustc_codegen_ssa::common::AtomicOrdering) -> Self { use rustc_codegen_ssa::common::AtomicOrdering as Common; match ao { - Common::Unordered => Self::Unordered, Common::Relaxed => Self::Monotonic, Common::Acquire => Self::Acquire, Common::Release => Self::Release, |
