about summary refs log tree commit diff
path: root/tests/codegen/target-feature-inline-closure.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2024-05-01 16:54:20 -0700
committerJosh Stone <jistone@redhat.com>2024-05-01 16:54:20 -0700
commit1b79bb937f399e82768ea90fb0d0b4ffd5a915d4 (patch)
tree0caa0332aaa7f559486ab537f89d8b273d458219 /tests/codegen/target-feature-inline-closure.rs
parent706f06c39a9e08a4708a53722429d13ae4069c2f (diff)
downloadrust-1b79bb937f399e82768ea90fb0d0b4ffd5a915d4.tar.gz
rust-1b79bb937f399e82768ea90fb0d0b4ffd5a915d4.zip
Add inline comments why we're forcing the target cpu
Diffstat (limited to 'tests/codegen/target-feature-inline-closure.rs')
-rw-r--r--tests/codegen/target-feature-inline-closure.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/codegen/target-feature-inline-closure.rs b/tests/codegen/target-feature-inline-closure.rs
index 20bb4e66ff2..d973bd93e31 100644
--- a/tests/codegen/target-feature-inline-closure.rs
+++ b/tests/codegen/target-feature-inline-closure.rs
@@ -1,4 +1,5 @@
 //@ only-x86_64
+// Set the base cpu explicitly, in case the default has been changed.
 //@ compile-flags: -Copt-level=3 -Ctarget-cpu=x86-64
 
 #![crate_type = "lib"]