about summary refs log tree commit diff
path: root/tests/codegen/loads.rs
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2024-03-21 22:38:22 +0000
committerclubby789 <jamie@hill-daniel.co.uk>2024-03-25 18:32:45 +0000
commitb500693ad7dcc6e8651217f2f5c1d2f5899c3cff (patch)
tree440476df8c2f916cdd158843f5443a8b6924e0ca /tests/codegen/loads.rs
parent0824b300eb0dae5d9ed59719d3f2732016683d66 (diff)
downloadrust-b500693ad7dcc6e8651217f2f5c1d2f5899c3cff.tar.gz
rust-b500693ad7dcc6e8651217f2f5c1d2f5899c3cff.zip
Don't emit load metadata in debug mode
Diffstat (limited to 'tests/codegen/loads.rs')
-rw-r--r--tests/codegen/loads.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/codegen/loads.rs b/tests/codegen/loads.rs
index b86b3dd3a19..ba4de77ce6f 100644
--- a/tests/codegen/loads.rs
+++ b/tests/codegen/loads.rs
@@ -1,4 +1,5 @@
-//@ compile-flags: -C no-prepopulate-passes -Zmir-opt-level=0
+//@ compile-flags: -C no-prepopulate-passes -Zmir-opt-level=0 -O
+
 #![crate_type = "lib"]
 #![feature(generic_nonzero)]