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:
kennytm 2017-12-02 01:38:56 +08:00 committed by GitHub
commit 2341f6c4e5

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