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 e53c434 commit 4cc1f62Copy full SHA for 4cc1f62
src/bootstrap/src/core/build_steps/doc.rs
@@ -739,6 +739,15 @@ 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
+ println!("SANITY CHECK ON: {}", out.join(&*dir_name).display());
747
+ assert!(out.join(&*dir_name).exists());
748
+ }
749
750
+
751
if builder.paths.iter().any(|path| path.ends_with("compiler")) {
752
// For `x.py doc compiler --open`, open `rustc_middle` by default.
753
let index = out.join("rustc_middle").join("index.html");
0 commit comments