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).
This commit is contained in:
commit
4359666daa
3 changed files with 7 additions and 0 deletions
|
|
@ -13,6 +13,11 @@ clap = "2.25.0"
|
|||
failure = "0.1"
|
||||
mdbook-linkcheck = { version = "0.3.0", optional = true }
|
||||
|
||||
# A noop dependency that changes in the Rust repository, it's a bit of a hack.
|
||||
# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
|
||||
# for more information.
|
||||
rustc-workspace-hack = "1.0.0"
|
||||
|
||||
[dependencies.mdbook]
|
||||
version = "0.3.0"
|
||||
default-features = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue