We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e2de47 commit fda009cCopy full SHA for fda009c
src/bootstrap/src/core/build_steps/doc.rs
@@ -739,6 +739,14 @@ impl Step for Rustc {
739
740
builder.run(&mut cargo.into());
741
742
+ if !builder.config.dry_run() {
743
+ // Sanity check on linked compiler crates
744
+ for krate in &*self.crates {
745
+ let dir_name = krate.replace("-", "_");
746
+ assert!(out.join(&*dir_name).exists());
747
+ }
748
749
+
750
if builder.paths.iter().any(|path| path.ends_with("compiler")) {
751
// For `x.py doc compiler --open`, open `rustc_middle` by default.
752
let index = out.join("rustc_middle").join("index.html");
0 commit comments