about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-18 07:04:18 +0000
committerbors <bors@rust-lang.org>2023-11-18 07:04:18 +0000
commitb7b919cb07d63baf4e98f6613592798b69bbb45f (patch)
tree7e677590c7756f4b64171518f38885916315a7ed /src
parentee48a3f24121d42ba32b69856d6d6e22ae01d8c7 (diff)
parentabdfe4a79af1367fa0873329ba44dfddeb2d6387 (diff)
downloadrust-b7b919cb07d63baf4e98f6613592798b69bbb45f.tar.gz
rust-b7b919cb07d63baf4e98f6613592798b69bbb45f.zip
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 https://github.com/rust-lang/miri/issues/3173
Diffstat (limited to 'src')
-rw-r--r--src/tools/miri/miri-script/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/miri/miri-script/src/commands.rs b/src/tools/miri/miri-script/src/commands.rs
index c24035ae086..e4789c696b3 100644
--- a/src/tools/miri/miri-script/src/commands.rs
+++ b/src/tools/miri/miri-script/src/commands.rs
@@ -286,7 +286,7 @@ impl Command {
                 "This will pull a copy of the rust-lang/rust history into this Miri checkout, growing it by about 1GB."
             );
             print!(
-                "To avoid that, abort now and set the `--rustc-git` flag to an existing rustc checkout. Proceed? [y/N] "
+                "To avoid that, abort now and set the `RUSTC_GIT` environment variable to an existing rustc checkout. Proceed? [y/N] "
             );
             std::io::stdout().flush()?;
             let mut answer = String::new();