about summary refs log tree commit diff
path: root/tests/codegen/static-relocation-model-msvc.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/static-relocation-model-msvc.rs
parent4c17270332c2908a9e77d0c5a5cdfc27edd45654 (diff)
downloadrust-3c0c9b6770f1ac0324be91580f52b6f45346e47b.tar.gz
rust-3c0c9b6770f1ac0324be91580f52b6f45346e47b.zip
tests/codegen: use -Copt-level=3 instead of -O
Diffstat (limited to 'tests/codegen/static-relocation-model-msvc.rs')
-rw-r--r--tests/codegen/static-relocation-model-msvc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/static-relocation-model-msvc.rs b/tests/codegen/static-relocation-model-msvc.rs
index 8ed8331466c..4d30e6ec505 100644
--- a/tests/codegen/static-relocation-model-msvc.rs
+++ b/tests/codegen/static-relocation-model-msvc.rs
@@ -1,6 +1,6 @@
 // Verify linkage of external symbols in the static relocation model on MSVC.
 //
-//@ compile-flags: -O -C relocation-model=static
+//@ compile-flags: -Copt-level=3 -C relocation-model=static
 //@ aux-build: extern_decl.rs
 //@ only-x86_64-pc-windows-msvc