Skip to content

Commit b2ee005

Browse files
committed
Auto merge of #11162 - pacak:master, r=ehuss
Expose libgit2-sys/vendored feature as vendored-libgit2 ### What does this PR try to resolve? Compiling cargo on MacOS can be problematic due present libraries, `cargo` already supports vendoring for openssl (and it helps pacak/cargo-show-asm#51 to some users). This pull request attempts to extend vendoring support to libgit2 in order to fix more foreign library issues: pacak/cargo-show-asm#50 While it is possible for me to enable it on my side (pacak/cargo-show-asm#52) a special care needs to keep versions in sync. Exposing this feature in `cargo` directly will make such fixes for my and other crates more robust. ### How should we test and review this PR? Disabled by default means existing behavior is unchanged, testing with it enabled to confirm if it still works should do the trick.
2 parents c39193a + 8818a89 commit b2ee005

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,5 @@ doc = false
115115
[features]
116116
deny-warnings = []
117117
vendored-openssl = ["openssl/vendored"]
118+
vendored-libgit2 = ["libgit2-sys/vendored"]
118119
pretty-env-logger = ["pretty_env_logger"]

0 commit comments

Comments
 (0)