Skip to content

Commit c77f0ab

Browse files
committed
Auto merge of #990 - RalfJung:rustup2, r=RalfJung
hopefully harmless Rust bump Just to make the rust version jump in #984 smaller.
2 parents 6bd64fc + 19fb53e commit c77f0ab

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2748a9fd93dd1a00a4521f4f16de5befbf77f6cd
1+
898f36c83cc28d7921a1d7b3605323dc5cfcf533

src/bin/cargo-miri.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,12 @@ fn test_sysroot_consistency() {
136136
.output().expect("Failed to run rustc to get sysroot info");
137137
let stdout = String::from_utf8(out.stdout).expect("stdout is not valid UTF-8");
138138
let stderr = String::from_utf8(out.stderr).expect("stderr is not valid UTF-8");
139+
assert!(
140+
out.status.success(),
141+
"Bad status code {} when getting sysroot info via {:?}.\nstdout:\n{}\nstderr:\n{}",
142+
out.status, cmd, stdout, stderr,
143+
);
139144
let stdout = stdout.trim();
140-
assert!(out.status.success(), "Bad status code when getting sysroot info.\nstdout:\n{}\nstderr:\n{}", stdout, stderr);
141145
PathBuf::from(stdout).canonicalize()
142146
.unwrap_or_else(|_| panic!("Failed to canonicalize sysroot: {}", stdout))
143147
}

0 commit comments

Comments
 (0)