mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-19 01:16:10 +00:00
39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
From: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
|
|
Date: Mon, 6 May 2024 10:25:32 +0200
|
|
Subject: 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
|
|
---
|
|
src/tools/cargo/Cargo.toml | 6 ++----
|
|
1 file changed, 2 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/src/tools/cargo/Cargo.toml b/src/tools/cargo/Cargo.toml
|
|
index 0a73f86..9898d05 100644
|
|
--- a/src/tools/cargo/Cargo.toml
|
|
+++ b/src/tools/cargo/Cargo.toml
|
|
@@ -80,7 +80,7 @@ proptest = "1.5.0"
|
|
pulldown-cmark = { version = "0.12.0", default-features = false, features = ["html"] }
|
|
rand = "0.8.5"
|
|
regex = "1.10.5"
|
|
-rusqlite = { version = "0.32.0", features = ["bundled"] }
|
|
+rusqlite = { version = "0.32.0" }
|
|
rustc-hash = "2.0.0"
|
|
rustc-stable-hash = "0.1.1"
|
|
rustfix = { version = "0.9.0", path = "crates/rustfix" }
|
|
@@ -267,10 +267,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
|