diff options
| author | Samuel Holland <samuel@sholland.org> | 2019-10-06 17:30:11 -0500 |
|---|---|---|
| committer | Samuel Holland <samuel@sholland.org> | 2019-10-28 22:34:43 -0500 |
| commit | c648ad587c7b133b2e95cc370b8b5e813c352fb1 (patch) | |
| tree | b3eef5620d2379ffe9295c4a6d34b9aeecf6f678 /src/bootstrap | |
| parent | cac68218105f1ba8b6a2a0b21b791951ff02f75d (diff) | |
| download | rust-c648ad587c7b133b2e95cc370b8b5e813c352fb1.tar.gz rust-c648ad587c7b133b2e95cc370b8b5e813c352fb1.zip | |
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.rs | 1 |
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"); |
