Skip to content

Commit 796853c

Browse files
weihangloMuscraftehuss
committed
chore: new Cargo feature all-static
This is primarily for the release process of rust-lang/rust. Note that in rustc-worksace-hack[1] it enable http2 via libnghttp2, cargo probably needs to enable it to compile in rust-lang/rust. [1]: https://github.com/rust-lang/rust/blob/992d154f3a84cc8abcefcf6e6cf3698e4821b506/src/tools/rustc-workspace-hack/Cargo.toml#L77 Co-authored-by: Scott Schafer <schaferjscott@gmail.com> Co-authored-by: Eric Huss <eric@huss.org>
1 parent ecfe927 commit 796853c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,5 @@ doc = false
139139
vendored-openssl = ["openssl/vendored"]
140140
vendored-libgit2 = ["libgit2-sys/vendored"]
141141
pretty-env-logger = ["pretty_env_logger"]
142+
# This is primarily used by rust-lang/rust distributing cargo the executable.
143+
all-static = ['vendored-openssl', 'curl/static-curl', 'curl/force-system-lib-on-osx']

0 commit comments

Comments
 (0)