We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e11100d commit af4a78bCopy full SHA for af4a78b
src/bootstrap/builder.rs
@@ -419,7 +419,8 @@ impl<'a> Builder<'a> {
419
.env("RUSTC_LIBDIR", self.sysroot_libdir(compiler, self.build.build))
420
.env("CFG_RELEASE_CHANNEL", &self.build.config.channel)
421
.env("RUSTDOC_REAL", self.rustdoc(host))
422
- .env("RUSTDOC_CRATE_VERSION", self.build.rust_version());
+ .env("RUSTDOC_CRATE_VERSION", self.build.rust_version())
423
+ .env("RUSTC_BOOTSTRAP", "1");
424
if let Some(linker) = self.build.linker(host) {
425
cmd.env("RUSTC_TARGET_LINKER", linker);
426
}
0 commit comments