about summary refs log tree commit diff
path: root/tests/codegen/sparc-struct-abi.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/sparc-struct-abi.rs
parent4c17270332c2908a9e77d0c5a5cdfc27edd45654 (diff)
downloadrust-3c0c9b6770f1ac0324be91580f52b6f45346e47b.tar.gz
rust-3c0c9b6770f1ac0324be91580f52b6f45346e47b.zip
tests/codegen: use -Copt-level=3 instead of -O
Diffstat (limited to 'tests/codegen/sparc-struct-abi.rs')
-rw-r--r--tests/codegen/sparc-struct-abi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/sparc-struct-abi.rs b/tests/codegen/sparc-struct-abi.rs
index 5d978166357..0a8720c4fca 100644
--- a/tests/codegen/sparc-struct-abi.rs
+++ b/tests/codegen/sparc-struct-abi.rs
@@ -1,7 +1,7 @@
 // Checks that we correctly codegen extern "C" functions returning structs.
 // See issues #52638 and #86163.
 
-//@ compile-flags: -O --target=sparc64-unknown-linux-gnu --crate-type=rlib
+//@ compile-flags: -Copt-level=3 --target=sparc64-unknown-linux-gnu --crate-type=rlib
 //@ needs-llvm-components: sparc
 #![feature(no_core, lang_items)]
 #![no_core]