diff options
| author | est31 <MTest31@outlook.com> | 2017-06-14 18:49:41 +0200 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2017-06-16 15:07:55 +0200 |
| commit | b34ac5dbdab8221a227238f2ec8089df3a2aa06d (patch) | |
| tree | 3022cd5b1c5b668f114aad40624324bc22572c5d /src/bootstrap | |
| parent | 130b67c2965b9c1939af15eca0caf2035a1f5e58 (diff) | |
| download | rust-b34ac5dbdab8221a227238f2ec8089df3a2aa06d.tar.gz rust-b34ac5dbdab8221a227238f2ec8089df3a2aa06d.zip | |
Fix cross compilation
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/step.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bootstrap/step.rs b/src/bootstrap/step.rs index 684a00ce7f1..b5422728db4 100644 --- a/src/bootstrap/step.rs +++ b/src/bootstrap/step.rs @@ -666,12 +666,7 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules { .target(&build.config.build) .stage(0) }) - .dep(move |s| { - s.name("doc-unstable-book-gen") - .host(&build.config.build) - .target(&build.config.build) - .stage(0) - }) + .dep(move |s| s.name("doc-unstable-book-gen")) .default(build.config.docs) .run(move |s| doc::rustbook_src(build, s.target, @@ -693,8 +688,13 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules { .host(true) .run(move |s| doc::error_index(build, s.target)); rules.doc("doc-unstable-book-gen", "src/tools/unstable-book-gen") - .dep(move |s| s.name("tool-unstable-book-gen").target(&build.config.build).stage(0)) - .dep(move |s| s.name("librustc-link")) + .dep(move |s| { + s.name("tool-unstable-book-gen") + .host(&build.config.build) + .target(&build.config.build) + .stage(0) + }) + .dep(move |s| s.name("libstd-link")) .default(build.config.docs) .host(true) .run(move |s| doc::unstable_book_gen(build, s.target)); |
