Skip to content

Commit 3294414

Browse files
Support rustc-fake without rustdoc
1 parent 264d20f commit 3294414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/src/bin/rustc-fake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ fn main() {
99

1010
let mut args = args_os.collect::<Vec<_>>();
1111
let rustc = env::var_os("RUSTC_REAL").unwrap();
12-
let rustdoc = env::var_os("RUSTDOC_REAL").unwrap();
1312
let actually_rustdoc = name.ends_with("rustdoc-fake");
1413
let tool = if actually_rustdoc {
14+
let rustdoc = env::var_os("RUSTDOC_REAL").unwrap();
1515
rustdoc
1616
} else {
1717
rustc

0 commit comments

Comments
 (0)