Skip to content

Commit 55eaf5e

Browse files
committed
Also update the rustc test suite runner
1 parent f817f1c commit 55eaf5e

File tree

2 files changed

+71
-93
lines changed

2 files changed

+71
-93
lines changed

rustc_tests/Cargo.lock

Lines changed: 67 additions & 92 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rustc_tests/src/main.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,10 @@ fn main() {
180180
let buf = BufWriter::default();
181181
let output = buf.clone();
182182
let result = std::panic::catch_unwind(|| {
183-
rustc_driver::run_compiler(&args, &mut MiriCompilerCalls(RustcDefaultCalls), None, Some(Box::new(buf)));
183+
rustc_driver::run_compiler(&args, &mut MiriCompilerCalls {
184+
default: RustcDefaultCalls,
185+
host_target,
186+
}, None, Some(Box::new(buf)));
184187
});
185188

186189
match result {

0 commit comments

Comments
 (0)