File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -598,7 +598,7 @@ impl BuildOutput {
598
598
// Abort with an error.
599
599
anyhow:: bail!( "Cannot set `RUSTC_BOOTSTRAP={}` from {}.\n \
600
600
note: Crates cannot set `RUSTC_BOOTSTRAP` themselves, as doing so would subvert the stability guarantees of Rust for your project.\n \
601
- help: If you're sure you want to do this in your project, use `RUSTC_BOOTSTRAP={} cargo build` instead.\n \
601
+ help: If you're sure you want to do this in your project, set the environment variable `RUSTC_BOOTSTRAP={}` before running cargo instead.\n \
602
602
help: See https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-env for details.",
603
603
val,
604
604
whence,
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ fn rustc_bootstrap() {
122
122
. build ( ) ;
123
123
p. cargo ( "build" )
124
124
. with_stderr_contains ( "error: Cannot set `RUSTC_BOOTSTRAP=1` [..]" )
125
- . with_stderr_contains ( "help: [..] use `RUSTC_BOOTSTRAP=foo cargo build ` [..]" )
125
+ . with_stderr_contains ( "help: [..] set the environment variable `RUSTC_BOOTSTRAP=foo` [..]" )
126
126
. with_status ( 101 )
127
127
. run ( ) ;
128
128
p. cargo ( "build" )
You can’t perform that action at this time.
0 commit comments