about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-10-29 12:01:46 -0700
committerGitHub <noreply@github.com>2019-10-29 12:01:46 -0700
commit4359666daa6dea916ed1e9700ae8cccaf2f46e2f (patch)
tree312dac74d5c8049c370abeb8cb9b70132f4297bc /src/bootstrap
parent67558a890e06603914a91a5d4c75269b6d873bae (diff)
parentc648ad587c7b133b2e95cc370b8b5e813c352fb1 (diff)
Rollup merge of #65920 - smaeul:patch/workspace-hack, r=alexcrichton
Use rustc-workspace-hack for rustbook

As rustbook now depends transitively on openssl, it needs access to the
rustc-workspace-hack/all-static feature to pick up openssl-sys/vendored.
This fixes the rust build with `all-static = true` on systems where
openssl is not installed (e.g. when cross-compiling).
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/tool.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
index f1baeafe26a..815498047fd 100644
--- a/src/bootstrap/tool.rs
+++ b/src/bootstrap/tool.rs
@@ -244,6 +244,7 @@ pub fn prepare_tool_cargo(
             path.ends_with("rls") ||
             path.ends_with("clippy") ||
             path.ends_with("miri") ||
+            path.ends_with("rustbook") ||
             path.ends_with("rustfmt")
         {
             cargo.env("LIBZ_SYS_STATIC", "1");