Skip to content

Commit 6f62fae

Browse files
committed
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.
1 parent b4b1e5e commit 6f62fae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/check.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ fn markdown_test(build: &Build, compiler: &Compiler, markdown: &Path) {
299299
build.add_rust_test_threads(&mut cmd);
300300
cmd.arg("--test");
301301
cmd.arg(markdown);
302+
cmd.env("RUSTC_BOOTSTRAP", "1");
302303

303304
let mut test_args = build.flags.cmd.test_args().join(" ");
304305
if build.config.quiet_tests {

0 commit comments

Comments
 (0)