Skip to content

Commit e046963

Browse files
committed
Auto merge of #1565 - RalfJung:rustup, r=RalfJung
rustup; adjust for rustc_driver changes
2 parents 510e62c + eaf56c5 commit e046963

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

benches/helpers/miri_helper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ pub fn run(filename: &str, bencher: &mut Bencher) {
5555
"--sysroot".to_string(),
5656
find_sysroot(),
5757
];
58-
rustc_driver::run_compiler(args, &mut MiriCompilerCalls { bencher }, None, None).unwrap()
58+
rustc_driver::run_compiler(args, &mut MiriCompilerCalls { bencher }, None, None, None).unwrap()
5959
}

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1ec980d225fff2346a1a631a7ffc88b37e9e18af
1+
26373fb4baa9c5b8a7a1e2821fcfa930a85d327d

src/bin/miri-rustc-tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ fn main() {
145145
&mut MiriCompilerCalls { host_target },
146146
None,
147147
Some(Box::new(buf)),
148+
None,
148149
);
149150
});
150151

src/bin/miri.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ fn run_compiler(mut args: Vec<String>, callbacks: &mut (dyn rustc_driver::Callba
157157

158158
// Invoke compiler, and handle return code.
159159
let exit_code = rustc_driver::catch_with_exit_code(move || {
160-
rustc_driver::run_compiler(&args, callbacks, None, None)
160+
rustc_driver::run_compiler(&args, callbacks, None, None, None)
161161
});
162162
std::process::exit(exit_code)
163163
}

0 commit comments

Comments
 (0)