diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-11-21 06:30:49 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-11-21 06:30:49 -0800 |
| commit | af4a78bb9d62ac0d86f1ac166e7eaa08517a7fa2 (patch) | |
| tree | 405eb5c19e0778a8b4365b75269f25df8770490e | |
| parent | e11100d524f67e149729d40bc9efbae769c7beb4 (diff) | |
| download | rust-af4a78bb9d62ac0d86f1ac166e7eaa08517a7fa2.tar.gz rust-af4a78bb9d62ac0d86f1ac166e7eaa08517a7fa2.zip | |
rustbuild: Allow using unstable rustdoc features on beta
I believe this was forgotten from #45191 but hopefully is a simple fix!
| -rw-r--r-- | src/bootstrap/builder.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index b202df76f7c..c76900882b6 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -419,7 +419,8 @@ impl<'a> Builder<'a> { .env("RUSTC_LIBDIR", self.sysroot_libdir(compiler, self.build.build)) .env("CFG_RELEASE_CHANNEL", &self.build.config.channel) .env("RUSTDOC_REAL", self.rustdoc(host)) - .env("RUSTDOC_CRATE_VERSION", self.build.rust_version()); + .env("RUSTDOC_CRATE_VERSION", self.build.rust_version()) + .env("RUSTC_BOOTSTRAP", "1"); if let Some(linker) = self.build.linker(host) { cmd.env("RUSTC_TARGET_LINKER", linker); } |
