File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -548,14 +548,14 @@ path = "lib.rs"
548548 // Manage the output the user sees.
549549 if only_setup {
550550 // We want to be explicit.
551- eprintln ! ( "Preparing a sysroot for Miri..." ) ;
551+ eprintln ! ( "Preparing a sysroot for Miri (target: {target}) ..." ) ;
552552 if print_sysroot {
553553 // Be extra sure there is no noise on stdout.
554554 command. stdout ( process:: Stdio :: null ( ) ) ;
555555 }
556556 } else {
557557 // 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}) ... " ) ;
559559 command. stdout ( process:: Stdio :: null ( ) ) ;
560560 command. stderr ( process:: Stdio :: null ( ) ) ;
561561 }
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>(
312312/// Evaluates the entry function specified by `entry_id`.
313313/// Returns `Some(return_code)` if program executed completed.
314314/// Returns `None` if an evaluation error occurred.
315+ #[ allow( clippy:: needless_lifetimes) ]
315316pub fn eval_entry < ' tcx > (
316317 tcx : TyCtxt < ' tcx > ,
317318 entry_id : DefId ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def normalize_stdout(str):
2929 return str
3030
3131def 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
3333 return str
3434
3535def check_output (actual , path , name ):
You can’t perform that action at this time.
0 commit comments