Rollup merge of #46385 - alexcrichton:fix-cargo-book, r=Mark-Simulacrum
rustbuild: Fix a typo with the Cargo book The usage of `Path::new` prevented out-of-tree builds (like the bots do) from working by accident! Closes #46195
This commit is contained in:
commit
2341f6c4e5
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ impl Step for CargoBook {
|
|||
|
||||
let target = self.target;
|
||||
let name = self.name;
|
||||
let src = PathBuf::from("src/tools/cargo/src/doc/book");
|
||||
let src = build.src.join("src/tools/cargo/src/doc/book");
|
||||
|
||||
let out = build.doc_out(target);
|
||||
t!(fs::create_dir_all(&out));
|
||||
|
|
Loading…
Reference in a new issue