Skip to content

Commit 7865255

Browse files
committed
Auto merge of #2453 - RalfJung:rustup, r=RalfJung
rustup Should work again, now that rust-lang/rust#99984 landed.
2 parents 8aab6bb + 9ffea91 commit 7865255

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

cargo-miri/bin.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c11207ec89b856164bba03b8ecfe07b0b234ed21
1+
1f5d8d49eb6111931091f700d07518cd2b80bc18

src/eval.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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)]
315316
pub fn eval_entry<'tcx>(
316317
tcx: TyCtxt<'tcx>,
317318
entry_id: DefId,

test-cargo-miri/run-test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def normalize_stdout(str):
2929
return str
3030

3131
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
3333
return str
3434

3535
def check_output(actual, path, name):

0 commit comments

Comments
 (0)