Skip to content

Commit

Permalink
rustbuild: Fix a typo with the Cargo book
Browse files Browse the repository at this point in the history
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
alexcrichton authored and steveklabnik committed Dec 14, 2017
1 parent c9107ee commit 336a27c
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
@@ -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));

0 comments on commit 336a27c

Please sign in to comment.