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:
Alex Crichton 2017-11-29 15:00:52 -08:00
parent 0a2e9ade83
commit 326eb79cf6
1 changed files with 1 additions and 1 deletions

View File

@ -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));