Skip to content

Commit b5274b8

Browse files
committed
Remove RunCompiler
It has become nothing other than a wrapper around run_compiler.
1 parent d3f2b84 commit b5274b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/miri.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ fn run_compiler_and_exit(
373373
) -> ! {
374374
// Invoke compiler, and handle return code.
375375
let exit_code = rustc_driver::catch_with_exit_code(move || {
376-
rustc_driver::RunCompiler::new(args, callbacks).run();
376+
rustc_driver::run_compiler(args, callbacks);
377377
Ok(())
378378
});
379379
std::process::exit(exit_code)

0 commit comments

Comments
 (0)