about summary refs log tree commit diff
path: root/src/bootstrap/doc.rs
diff options
context:
space:
mode:
authorTatsuyuki Ishi <ishitatsuyuki@gmail.com>2018-07-26 12:36:58 +0900
committerTatsuyuki Ishi <ishitatsuyuki@gmail.com>2018-07-26 12:36:58 +0900
commit62f73dc87c34a99360ba4aacdffe6c8bc320d763 (patch)
treeb45d877c1e13db4d416a640575eef1e3a26370e8 /src/bootstrap/doc.rs
parenta89f8e1340d90de68bf2dd91f7a95c52273bd5f7 (diff)
downloadrust-62f73dc87c34a99360ba4aacdffe6c8bc320d763.tar.gz
rust-62f73dc87c34a99360ba4aacdffe6c8bc320d763.zip
Refactor is_external_tool into source_type
Diffstat (limited to 'src/bootstrap/doc.rs')
-rw-r--r--src/bootstrap/doc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs
index 913b8162a44..fd3730ffc78 100644
--- a/src/bootstrap/doc.rs
+++ b/src/bootstrap/doc.rs
@@ -28,7 +28,7 @@ use build_helper::up_to_date;
 
 use util::symlink_dir;
 use builder::{Builder, Compiler, RunConfig, ShouldRun, Step};
-use tool::{self, prepare_tool_cargo, Tool};
+use tool::{self, prepare_tool_cargo, Tool, SourceType};
 use compile;
 use cache::{INTERNER, Interned};
 use config::Config;
@@ -814,7 +814,7 @@ impl Step for Rustdoc {
             target,
             "doc",
             "src/tools/rustdoc",
-            false
+            SourceType::InTree,
         );
 
         cargo.env("RUSTDOCFLAGS", "--document-private-items");