Skip to content

Commit

Permalink
Rollup merge of rust-lang#46385 - alexcrichton:fix-cargo-book, r=Mark…
Browse files Browse the repository at this point in the history
…-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 rust-lang#46195
  • Loading branch information
Ariel Ben-Yehuda authored Nov 30, 2017
2 parents 8f05a4d + 326eb79 commit 82b773c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 82b773c

Please sign in to comment.