From: Debian Rust Maintainers Date: Mon, 6 May 2024 08:25:32 +0000 (+0200) Subject: d-0010-cargo-remove-vendored-c-crates X-Git-Tag: archive/raspbian/1.77.2+dfsg1-1+rpi1^2~27 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f51a8414e52058a8d8e5099c95b732f94350ce5a;p=rustc.git d-0010-cargo-remove-vendored-c-crates Description: remove all vendoring features of crates normally shipping bundled C libs. that C code is stripped when repacking, so the features can't work anyway. Forwarded: not-needed Gbp-Pq: Topic prune Gbp-Pq: Name d-0010-cargo-remove-vendored-c-crates.patch --- diff --git a/src/tools/cargo/Cargo.toml b/src/tools/cargo/Cargo.toml index ce6513c01d..dc825d9a69 100644 --- a/src/tools/cargo/Cargo.toml +++ b/src/tools/cargo/Cargo.toml @@ -77,7 +77,7 @@ proptest = "1.4.0" pulldown-cmark = { version = "0.9.3", default-features = false } rand = "0.8.5" regex = "1.10.2" -rusqlite = { version = "0.30.0", features = ["bundled"] } +rusqlite = { version = "0.30.0", features = [] } rustfix = { version = "0.8.0", path = "crates/rustfix" } same-file = "1.0.6" security-framework = "2.9.2" @@ -244,10 +244,8 @@ test = false doc = false [features] -vendored-openssl = ["openssl/vendored"] -vendored-libgit2 = ["libgit2-sys/vendored"] +# Debian: removed vendoring flags # This is primarily used by rust-lang/rust distributing cargo the executable. -all-static = ['vendored-openssl', 'curl/static-curl', 'curl/force-system-lib-on-osx', 'vendored-libgit2'] [lints] workspace = true