From 6f62fae92679fdcaad5909b15513df1a963b29ac Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 12 Dec 2016 09:03:35 -0800 Subject: [PATCH] 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. --- src/bootstrap/check.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bootstrap/check.rs b/src/bootstrap/check.rs index e0798860275..712c4c52baa 100644 --- a/src/bootstrap/check.rs +++ b/src/bootstrap/check.rs @@ -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 {