rustbuild: Enable unstable features in rustdoc

This ensures that stable releases produced by rustbuild will succeed in testing
as some of the rustdoc tests use unstable features.
This commit is contained in:
Alex Crichton 2016-12-12 09:03:35 -08:00
parent b4b1e5ece2
commit 6f62fae926

View File

@ -299,6 +299,7 @@ fn markdown_test(build: &Build, compiler: &Compiler, markdown: &Path) {
build.add_rust_test_threads(&mut cmd);
cmd.arg("--test");
cmd.arg(markdown);
cmd.env("RUSTC_BOOTSTRAP", "1");
let mut test_args = build.flags.cmd.test_args().join(" ");
if build.config.quiet_tests {