File tree 4 files changed +5
-4
lines changed
4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -548,14 +548,14 @@ path = "lib.rs"
548
548
// Manage the output the user sees.
549
549
if only_setup {
550
550
// We want to be explicit.
551
- eprintln ! ( "Preparing a sysroot for Miri..." ) ;
551
+ eprintln ! ( "Preparing a sysroot for Miri (target: {target}) ..." ) ;
552
552
if print_sysroot {
553
553
// Be extra sure there is no noise on stdout.
554
554
command. stdout ( process:: Stdio :: null ( ) ) ;
555
555
}
556
556
} else {
557
557
// We want to be quiet, but still let the user know that something is happening.
558
- eprint ! ( "Preparing a sysroot for Miri... " ) ;
558
+ eprint ! ( "Preparing a sysroot for Miri (target: {target}) ... " ) ;
559
559
command. stdout ( process:: Stdio :: null ( ) ) ;
560
560
command. stderr ( process:: Stdio :: null ( ) ) ;
561
561
}
Original file line number Diff line number Diff line change 1
- c11207ec89b856164bba03b8ecfe07b0b234ed21
1
+ 1f5d8d49eb6111931091f700d07518cd2b80bc18
Original file line number Diff line number Diff line change @@ -312,6 +312,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
312
312
/// Evaluates the entry function specified by `entry_id`.
313
313
/// Returns `Some(return_code)` if program executed completed.
314
314
/// Returns `None` if an evaluation error occurred.
315
+ #[ allow( clippy:: needless_lifetimes) ]
315
316
pub fn eval_entry < ' tcx > (
316
317
tcx : TyCtxt < ' tcx > ,
317
318
entry_id : DefId ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def normalize_stdout(str):
29
29
return str
30
30
31
31
def normalize_stderr (str ):
32
- str = str . replace ("Preparing a sysroot for Miri.. . done\n " , "" ) # remove leading cargo-miri setup output
32
+ str = re . sub ("Preparing a sysroot for Miri \(target: [a-z0-9_-]+\)\.\.\ . done\n " , "" , str ) # remove leading cargo-miri setup output
33
33
return str
34
34
35
35
def check_output (actual , path , name ):
You can’t perform that action at this time.
0 commit comments