Skip to content

Commit 4980543

Browse files
committed
Add RUSTC_BOOTSTRAP=1
1 parent d3201bd commit 4980543

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/tools/unstable-book-gen/src

src/tools/unstable-book-gen/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ fn copy_recursive(from: &Path, to: &Path) {
125125

126126
fn collect_compiler_flags(rustc_path: impl AsRef<Path>) -> Features {
127127
let mut rustc = Command::new(rustc_path.as_ref());
128+
rustc.env("RUSTC_BOOTSTRAP", "1");
128129
rustc.arg("-Zhelp");
129130
let output = t!(rustc.output());
130131
let help_str = t!(String::from_utf8(output.stdout));

0 commit comments

Comments
 (0)