We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
x doc --stage 0 compiler
1 parent 3f05b1f commit d613134Copy full SHA for d613134
src/bootstrap/doc.rs
@@ -693,6 +693,7 @@ impl Step for Rustc {
693
// rustc. rustdoc needs to be able to see everything, for example when
694
// merging the search index, or generating local (relative) links.
695
let out_dir = builder.stage_out(compiler, Mode::Rustc).join(target.triple).join("doc");
696
+ t!(fs::create_dir_all(out_dir.parent().unwrap()));
697
symlink_dir_force(&builder.config, &out, &out_dir);
698
// Cargo puts proc macros in `target/doc` even if you pass `--target`
699
// explicitly (https://github.com/rust-lang/cargo/issues/7677).
0 commit comments