diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-12-12 09:03:35 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-12-12 09:03:35 -0800 |
| commit | 6f62fae92679fdcaad5909b15513df1a963b29ac (patch) | |
| tree | b6d0d64edf1f8893f039fb17a996830f955684e0 | |
| parent | b4b1e5ece21fb497877350c3d6defa143c88076c (diff) | |
| download | rust-6f62fae92679fdcaad5909b15513df1a963b29ac.tar.gz rust-6f62fae92679fdcaad5909b15513df1a963b29ac.zip | |
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.
| -rw-r--r-- | src/bootstrap/check.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |
