Skip to content

Commit c4747fb

Browse files
committed
rustup
1 parent 44dc49f commit c4747fb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-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

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)