File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -589,17 +589,15 @@ impl BuildOutput {
589
589
// behavior, so still only give a warning.
590
590
if nightly_features_allowed {
591
591
warnings. push ( format ! ( "Cannot set `RUSTC_BOOTSTRAP={}` from {}.\n \
592
- note: Crates cannot set `RUSTC_BOOTSTRAP` themselves, as doing so would subvert the stability guarantees of Rust for your project.\n \
593
- help: See https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-env for details.",
592
+ note: Crates cannot set `RUSTC_BOOTSTRAP` themselves, as doing so would subvert the stability guarantees of Rust for your project.",
594
593
val, whence
595
594
) ) ;
596
595
} else {
597
596
// Setting RUSTC_BOOTSTRAP would change the behavior of the crate.
598
597
// Abort with an error.
599
598
anyhow:: bail!( "Cannot set `RUSTC_BOOTSTRAP={}` from {}.\n \
600
599
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, set the environment variable `RUSTC_BOOTSTRAP={}` before running cargo instead.\n \
602
- help: See https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-env for details.",
600
+ help: If you're sure you want to do this in your project, set the environment variable `RUSTC_BOOTSTRAP={}` before running cargo instead.",
603
601
val,
604
602
whence,
605
603
pkg_name,
You can’t perform that action at this time.
0 commit comments