about summary refs log tree commit diff
path: root/tests/codegen/macos/i686-no-macosx-deployment-target.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2025-02-08 19:45:40 -0800
committerJubilee Young <workingjubilee@gmail.com>2025-02-11 13:41:35 -0800
commit3c0c9b6770f1ac0324be91580f52b6f45346e47b (patch)
tree0ca2e1eeec35340e34dbe3f4920f0400f86ed9d1 /tests/codegen/macos/i686-no-macosx-deployment-target.rs
parent4c17270332c2908a9e77d0c5a5cdfc27edd45654 (diff)
downloadrust-3c0c9b6770f1ac0324be91580f52b6f45346e47b.tar.gz
rust-3c0c9b6770f1ac0324be91580f52b6f45346e47b.zip
tests/codegen: use -Copt-level=3 instead of -O
Diffstat (limited to 'tests/codegen/macos/i686-no-macosx-deployment-target.rs')
-rw-r--r--tests/codegen/macos/i686-no-macosx-deployment-target.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/macos/i686-no-macosx-deployment-target.rs b/tests/codegen/macos/i686-no-macosx-deployment-target.rs
index 4c6b7656e59..a09773e0b9e 100644
--- a/tests/codegen/macos/i686-no-macosx-deployment-target.rs
+++ b/tests/codegen/macos/i686-no-macosx-deployment-target.rs
@@ -2,7 +2,7 @@
 // Checks that we leave the target alone MACOSX_DEPLOYMENT_TARGET is unset.
 // See issue #60235.
 
-//@ compile-flags: -O --target=i686-apple-darwin --crate-type=rlib
+//@ compile-flags: -Copt-level=3 --target=i686-apple-darwin --crate-type=rlib
 //@ needs-llvm-components: x86
 //@ unset-rustc-env:MACOSX_DEPLOYMENT_TARGET
 #![feature(no_core, lang_items)]