Auto merge of #1565 - RalfJung:rustup, r=RalfJung
rustup; adjust for rustc_driver changes
This commit is contained in:
commit
e046963ed6
@ -55,5 +55,5 @@ pub fn run(filename: &str, bencher: &mut Bencher) {
|
||||
"--sysroot".to_string(),
|
||||
find_sysroot(),
|
||||
];
|
||||
rustc_driver::run_compiler(args, &mut MiriCompilerCalls { bencher }, None, None).unwrap()
|
||||
rustc_driver::run_compiler(args, &mut MiriCompilerCalls { bencher }, None, None, None).unwrap()
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
1ec980d225fff2346a1a631a7ffc88b37e9e18af
|
||||
26373fb4baa9c5b8a7a1e2821fcfa930a85d327d
|
||||
|
@ -145,6 +145,7 @@ fn main() {
|
||||
&mut MiriCompilerCalls { host_target },
|
||||
None,
|
||||
Some(Box::new(buf)),
|
||||
None,
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -157,7 +157,7 @@ fn run_compiler(mut args: Vec<String>, callbacks: &mut (dyn rustc_driver::Callba
|
||||
|
||||
// Invoke compiler, and handle return code.
|
||||
let exit_code = rustc_driver::catch_with_exit_code(move || {
|
||||
rustc_driver::run_compiler(&args, callbacks, None, None)
|
||||
rustc_driver::run_compiler(&args, callbacks, None, None, None)
|
||||
});
|
||||
std::process::exit(exit_code)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user