mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 21:47:15 +03:00
clarify error message when sysroot was not found
This commit is contained in:
+2
-1
@@ -200,7 +200,8 @@ fn find_sysroot() -> String {
|
||||
_ => {
|
||||
option_env!("RUST_SYSROOT")
|
||||
.expect(
|
||||
"need to specify RUST_SYSROOT env var or use rustup or multirust",
|
||||
"Could not find sysroot. Either set MIRI_SYSROOT at run-time, or at \
|
||||
build-time specify RUST_SYSROOT env var or use rustup or multirust",
|
||||
)
|
||||
.to_owned()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user