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:
parent
b4b1e5ece2
commit
6f62fae926
1 changed files with 1 additions and 0 deletions
|
@ -299,6 +299,7 @@ fn markdown_test(build: &Build, compiler: &Compiler, markdown: &Path) {
|
||||||
build.add_rust_test_threads(&mut cmd);
|
build.add_rust_test_threads(&mut cmd);
|
||||||
cmd.arg("--test");
|
cmd.arg("--test");
|
||||||
cmd.arg(markdown);
|
cmd.arg(markdown);
|
||||||
|
cmd.env("RUSTC_BOOTSTRAP", "1");
|
||||||
|
|
||||||
let mut test_args = build.flags.cmd.test_args().join(" ");
|
let mut test_args = build.flags.cmd.test_args().join(" ");
|
||||||
if build.config.quiet_tests {
|
if build.config.quiet_tests {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue