diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-05-10 16:26:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-10 16:26:02 +0200 |
| commit | db5831c76c10e1045823cc442d07eaf4ec404089 (patch) | |
| tree | cc266835dc5a89eff8fbaa40b9c209edbb0c57d7 | |
| parent | fcb4ef584d88c3a8210ac17b91732fddb00a6036 (diff) | |
| parent | 7e5fa896a210b205c48a2a8922d21fd680afd39c (diff) | |
| download | rust-db5831c76c10e1045823cc442d07eaf4ec404089.tar.gz rust-db5831c76c10e1045823cc442d07eaf4ec404089.zip | |
Rollup merge of #140660 - RalfJung:more-order, r=WaffleLapkin
remove 'unordered' atomic intrinsics As their doc comment already indicates, these operations do not currently have a place in our memory model. The intrinsics were introduced to support a hack in compiler-builtins, but that hack recently got removed (see https://github.com/rust-lang/compiler-builtins/issues/788).
| -rw-r--r-- | src/builder.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/builder.rs b/src/builder.rs index 6720f6186d1..9e5ebf3a9a4 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -2454,7 +2454,6 @@ impl ToGccOrdering for AtomicOrdering { use MemOrdering::*; let ordering = match self { - AtomicOrdering::Unordered => __ATOMIC_RELAXED, AtomicOrdering::Relaxed => __ATOMIC_RELAXED, // TODO(antoyo): check if that's the same. AtomicOrdering::Acquire => __ATOMIC_ACQUIRE, AtomicOrdering::Release => __ATOMIC_RELEASE, |
