warn when cargo miri setup does not do anything
This commit is contained in:
parent
f26c2cb4eb
commit
2481d6091a
1 changed files with 3 additions and 0 deletions
|
|
@ -172,6 +172,9 @@ fn ask(question: &str) {
|
|||
/// done all this already.
|
||||
fn setup(ask_user: bool) {
|
||||
if std::env::var("MIRI_SYSROOT").is_ok() {
|
||||
if !ask_user {
|
||||
println!("WARNING: MIRI_SYSROOT already set, not doing anything.")
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue