Skip to content

Commit 30a6563

Browse files
authored
Update doctest.rs
1 parent e36c1b8 commit 30a6563

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/doctest.rs

+1
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@ fn run_test(
661661

662662
let mut compiler_runner =
663663
wrapped_rustc_command(&rustdoc_options.test_builder_wrappers, rustc_binary);
664+
compiler_runner.env("RUSTC_BOOTSTRAP=1");
664665
compiler_runner.args(compiler_args);
665666
compiler_runner.args(&["--crate-type=bin", "-o"]).arg(&output_file);
666667
let mut extern_path = std::ffi::OsString::from(format!(

0 commit comments

Comments
 (0)