Skip to content

Commit 2bcefa8

Browse files
committed
Add missing : after *llvm-version
1 parent 5e5d816 commit 2bcefa8

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/test/codegen/abi-efiapi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// revisions:x86_64 i686 arm
44

5-
// min-llvm-version 9.0
5+
// min-llvm-version: 9.0
66

77
//[x86_64] compile-flags: --target x86_64-unknown-uefi
88
//[i686] compile-flags: --target i686-unknown-linux-musl

src/test/codegen/force-unwind-tables.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// min-llvm-version 8.0
1+
// min-llvm-version: 8.0
22
// compile-flags: -C no-prepopulate-passes -C force-unwind-tables=y
33

44
#![crate_type="lib"]

src/test/ui/sanitize/new-llvm-pass-manager-thin-lto.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// being run when compiling with new LLVM pass manager and ThinLTO.
33
// Note: The issue occurred only on non-zero opt-level.
44
//
5-
// min-llvm-version 9.0
5+
// min-llvm-version: 9.0
66
// needs-sanitizer-support
77
// needs-sanitizer-address
88
//

src/tools/compiletest/src/header/tests.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,16 @@ fn llvm_version() {
120120
let mut config = config();
121121

122122
config.llvm_version = Some("8.1.2-rust".to_owned());
123-
assert!(parse_rs(&config, "// min-llvm-version 9.0").ignore);
123+
assert!(parse_rs(&config, "// min-llvm-version: 9.0").ignore);
124124

125125
config.llvm_version = Some("9.0.1-rust-1.43.0-dev".to_owned());
126-
assert!(parse_rs(&config, "// min-llvm-version 9.2").ignore);
126+
assert!(parse_rs(&config, "// min-llvm-version: 9.2").ignore);
127127

128128
config.llvm_version = Some("9.3.1-rust-1.43.0-dev".to_owned());
129-
assert!(!parse_rs(&config, "// min-llvm-version 9.2").ignore);
129+
assert!(!parse_rs(&config, "// min-llvm-version: 9.2").ignore);
130130

131131
config.llvm_version = Some("10.0.0-rust".to_owned());
132-
assert!(!parse_rs(&config, "// min-llvm-version 9.0").ignore);
132+
assert!(!parse_rs(&config, "// min-llvm-version: 9.0").ignore);
133133
}
134134

135135
#[test]

0 commit comments

Comments
 (0)