clarify error message when sysroot was not found
This commit is contained in:
parent
471944b632
commit
ff3efb4e04
1 changed files with 2 additions and 1 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue