Skip to content

Commit 732037c

Browse files
committed
Remove redundant information and simplify only condition
1 parent e8ce9fa commit 732037c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/tools/compiletest/src/command-list.rs

+1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
168168
"only-32bit",
169169
"only-64bit",
170170
"only-aarch64",
171+
"only-aarch64-unknown-linux-gnu",
171172
"only-apple",
172173
"only-arm",
173174
"only-avr",

tests/run-make/mte-ffi/rmake.rs

+5-6
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
// This test does not require MTE: whilst the test will use MTE if available, if it is not,
44
// arbitrary tag bits are set using TBI.
55

6-
//@ only-aarch64
7-
//@ only-linux
8-
//@ only-gnu
9-
//@ run-pass
6+
// This test is only valid for AArch64.
7+
// The linker must be explicitly specified when cross-compiling, so it is limited to
8+
// `aarch64-unknown-linux-gnu`.
9+
//@ only-aarch64-unknown-linux-gnu
1010

1111
use run_make_support::{cc, dynamic_lib_name, extra_c_flags, run, rustc, target};
1212

@@ -23,7 +23,7 @@ fn run_test(variant: &str) {
2323
flags.push("-march=armv8.5-a+memtag");
2424
flags
2525
};
26-
print!("{variant} test...");
26+
println!("{variant} test...");
2727
rustc()
2828
.input(format!("foo_{variant}.rs"))
2929
.target(target())
@@ -35,5 +35,4 @@ fn run_test(variant: &str) {
3535
.args(&flags)
3636
.run();
3737
run("test");
38-
println!("\tpassed");
3938
}

0 commit comments

Comments
 (0)