File tree 4 files changed +7
-3
lines changed
4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ pub fn phase_cargo_miri(mut args: impl Iterator<Item = String>) {
185
185
// explicitly do this even if RUSTC_STAGE is set, since for these builds we do *not* want the
186
186
// bootstrap `rustc` thing in our way! Instead, we have MIRI_HOST_SYSROOT to use for host
187
187
// builds.
188
- cmd. env ( "RUSTC" , & fs:: canonicalize ( find_miri ( ) ) . unwrap ( ) ) ;
188
+ cmd. env ( "RUSTC" , fs:: canonicalize ( find_miri ( ) ) . unwrap ( ) ) ;
189
189
cmd. env ( "MIRI_BE_RUSTC" , "target" ) ; // we better remember to *unset* this in the other phases!
190
190
191
191
// Set rustdoc to us as well, so we can run doctests.
Original file line number Diff line number Diff line change 1
- 4f4d0586ad20c66a16d547581ca379beafece93a
1
+ 3b1c8a94a4e8a6ba8bc7b39cc3580db9e5b72295
Original file line number Diff line number Diff line change @@ -54,6 +54,11 @@ extern crate rustc_session;
54
54
extern crate rustc_span;
55
55
extern crate rustc_target;
56
56
57
+ // Necessary to pull in object code as the rest of the rustc crates are shipped only as rmeta
58
+ // files.
59
+ #[ allow( unused_extern_crates) ]
60
+ extern crate rustc_driver;
61
+
57
62
mod borrow_tracker;
58
63
mod clock;
59
64
mod concurrency;
Original file line number Diff line number Diff line change @@ -219,7 +219,6 @@ mod tests {
219
219
/// Query the map at every offset in the range and collect the results.
220
220
fn to_vec < T : Copy > ( map : & RangeMap < T > , offset : u64 , len : u64 ) -> Vec < T > {
221
221
( offset..offset + len)
222
- . into_iter ( )
223
222
. map ( |i| {
224
223
map. iter ( Size :: from_bytes ( i) , Size :: from_bytes ( 1 ) ) . next ( ) . map ( |( _, & t) | t) . unwrap ( )
225
224
} )
You can’t perform that action at this time.
0 commit comments