Skip to content

Commit 9827f7e

Browse files
committed
fmt
1 parent 3f25c4b commit 9827f7e

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

tests/run-make/sepcomp-cci-copies/rmake.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ use run_make_support::{count_regex_matches_in_files_with_extension, regex, rustc
88

99
fn main() {
1010
rustc().input("cci_lib.rs").run();
11-
rustc().input("foo.rs").emit("llvm-ir").codegen_units(6).arg("-O").arg("-Cno-prepopulate-passes").run();
11+
rustc()
12+
.input("foo.rs")
13+
.emit("llvm-ir")
14+
.codegen_units(6)
15+
.arg("-O")
16+
.arg("-Cno-prepopulate-passes")
17+
.run();
1218
let re = regex::Regex::new(r#"define\ .*cci_fn"#).unwrap();
1319
assert_eq!(count_regex_matches_in_files_with_extension(&re, "ll"), 2);
1420
}

tests/run-make/sepcomp-inlining/rmake.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@
88
use run_make_support::{count_regex_matches_in_files_with_extension, regex, rustc};
99

1010
fn main() {
11-
rustc().input("foo.rs").emit("llvm-ir").codegen_units(3).arg("-O").arg("-Cno-prepopulate-passes").run();
11+
rustc()
12+
.input("foo.rs")
13+
.emit("llvm-ir")
14+
.codegen_units(3)
15+
.arg("-O")
16+
.arg("-Cno-prepopulate-passes")
17+
.run();
1218
let re = regex::Regex::new(r#"define\ i32\ .*inlined"#).unwrap();
1319
assert_eq!(count_regex_matches_in_files_with_extension(&re, "ll"), 0);
1420
let re = regex::Regex::new(r#"define\ internal\ .*inlined"#).unwrap();

0 commit comments

Comments
 (0)