diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2025-02-08 19:45:40 -0800 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2025-02-11 13:41:35 -0800 |
| commit | 3c0c9b6770f1ac0324be91580f52b6f45346e47b (patch) | |
| tree | 0ca2e1eeec35340e34dbe3f4920f0400f86ed9d1 /tests/codegen/atomicptr.rs | |
| parent | 4c17270332c2908a9e77d0c5a5cdfc27edd45654 (diff) | |
| download | rust-3c0c9b6770f1ac0324be91580f52b6f45346e47b.tar.gz rust-3c0c9b6770f1ac0324be91580f52b6f45346e47b.zip | |
tests/codegen: use -Copt-level=3 instead of -O
Diffstat (limited to 'tests/codegen/atomicptr.rs')
| -rw-r--r-- | tests/codegen/atomicptr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/atomicptr.rs b/tests/codegen/atomicptr.rs index e8c5e6a6749..4819af40ca2 100644 --- a/tests/codegen/atomicptr.rs +++ b/tests/codegen/atomicptr.rs @@ -4,7 +4,7 @@ // ensures that we do not have such a round-trip for AtomicPtr::swap, because LLVM supports pointer // arguments to `atomicrmw xchg`. -//@ compile-flags: -O -Cno-prepopulate-passes +//@ compile-flags: -Copt-level=3 -Cno-prepopulate-passes #![crate_type = "lib"] #![feature(strict_provenance_atomic_ptr)] |
