Skip to content

Commit b7b919c

Browse files
committed
Auto merge of #3174 - RalfJung:rustc-git, r=RalfJung
miri script: fix RUSTC_GIT error message Making this a flag is tricky since our command-line parsing is pretty crude. Fixes rust-lang/miri#3173
2 parents ee48a3f + abdfe4a commit b7b919c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/miri-script/src/commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ impl Command {
286286
"This will pull a copy of the rust-lang/rust history into this Miri checkout, growing it by about 1GB."
287287
);
288288
print!(
289-
"To avoid that, abort now and set the `--rustc-git` flag to an existing rustc checkout. Proceed? [y/N] "
289+
"To avoid that, abort now and set the `RUSTC_GIT` environment variable to an existing rustc checkout. Proceed? [y/N] "
290290
);
291291
std::io::stdout().flush()?;
292292
let mut answer = String::new();

0 commit comments

Comments
 (0)