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:
parent
0a2e9ade83
commit
326eb79cf6
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…
Add table
Add a link
Reference in a new issue