Skip to content

Commit

Permalink
rustbuild: Allow using unstable rustdoc features on beta
Browse files Browse the repository at this point in the history
I believe this was forgotten from rust-lang#45191 but hopefully is a simple fix!
  • Loading branch information
alexcrichton committed Jan 2, 2018
1 parent e2e9751 commit d5c7ba8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bootstrap/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d5c7ba8

Please sign in to comment.