d-0020-remove-windows-dependencies
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sat, 4 May 2024 11:38:10 +0000 (13:38 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Sat, 4 May 2024 11:38:10 +0000 (13:38 +0200)
===================================================================

Gbp-Pq: Name d-0020-remove-windows-dependencies.patch

12 files changed:
compiler/rustc_data_structures/Cargo.toml
compiler/rustc_driver_impl/Cargo.toml
compiler/rustc_errors/Cargo.toml
compiler/rustc_session/Cargo.toml
src/bootstrap/Cargo.toml
src/tools/cargo/Cargo.toml
src/tools/cargo/crates/cargo-test-support/Cargo.toml
src/tools/cargo/crates/cargo-util/Cargo.toml
src/tools/cargo/crates/home/Cargo.toml
src/tools/compiletest/Cargo.toml
src/tools/rust-analyzer/crates/rust-analyzer/Cargo.toml
src/tools/rust-analyzer/crates/stdx/Cargo.toml

index 2102f09c56a03f5b168930bbf5d099f6133909dd..5ab2a22c269b638f1932d99dc6fcaa17d11bb94a 100644 (file)
@@ -38,16 +38,6 @@ itertools = "0.10.1"
 [dependencies.parking_lot]
 version = "0.11"
 
-[target.'cfg(windows)'.dependencies.windows]
-version = "0.46.0"
-features = [
-    "Win32_Foundation",
-    "Win32_Storage_FileSystem",
-    "Win32_System_IO",
-    "Win32_System_ProcessStatus",
-    "Win32_System_Threading",
-]
-
 [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
 memmap2 = "0.2.1"
 
index 73a1f79a020f1da162ee5f2b6a6a5faeb9318906..1a0af6d5583a08f2a50e6af6135551665a0ebcfa 100644 (file)
@@ -54,12 +54,6 @@ rustc_hir_analysis = { path = "../rustc_hir_analysis" }
 [target.'cfg(unix)'.dependencies]
 libc = "0.2"
 
-[target.'cfg(windows)'.dependencies.windows]
-version = "0.46.0"
-features = [
-    "Win32_System_Diagnostics_Debug",
-]
-
 [features]
 llvm = ['rustc_interface/llvm']
 max_level_info = ['rustc_log/max_level_info']
index e1ead08ea66bdf9dd4ad4919010627cb855e49d5..7c3878db73b78a1390d7a116330a1059913e6c8f 100644 (file)
@@ -25,14 +25,5 @@ termize = "0.1.1"
 serde = { version = "1.0.125", features = [ "derive" ] }
 serde_json = "1.0.59"
 
-[target.'cfg(windows)'.dependencies.windows]
-version = "0.46.0"
-features = [
-    "Win32_Foundation",
-    "Win32_Security",
-    "Win32_System_Threading",
-    "Win32_System_WindowsProgramming",
-]
-
 [features]
 rustc_use_parallel_compiler = ['rustc_error_messages/rustc_use_parallel_compiler']
index 9e337dde99531bafa754854f5734a955a11f61f8..df2843b9c085d7b829f8ee127600abf5d19f499b 100644 (file)
@@ -23,10 +23,3 @@ termize = "0.1.1"
 
 [target.'cfg(unix)'.dependencies]
 libc = "0.2"
-
-[target.'cfg(windows)'.dependencies.windows]
-version = "0.46.0"
-features = [
-    "Win32_Foundation",
-    "Win32_System_LibraryLoader",
-]
index eeda6d7c121f7c97c358bb5fa17a6c9871fd4372..b189668220a6f6e672eccb1e01e549e43cd9dd16 100644 (file)
@@ -61,25 +61,6 @@ sysinfo = { version = "0.26.0", optional = true }
 [target.'cfg(not(target_os = "solaris"))'.dependencies]
 fd-lock = "3.0.8"
 
-[target.'cfg(windows)'.dependencies.junction]
-version = "1.0.0"
-
-[target.'cfg(windows)'.dependencies.windows]
-version = "0.46.0"
-features = [
-    "Win32_Foundation",
-    "Win32_Security",
-    "Win32_Storage_FileSystem",
-    "Win32_System_Diagnostics_Debug",
-    "Win32_System_IO",
-    "Win32_System_Ioctl",
-    "Win32_System_JobObjects",
-    "Win32_System_ProcessStatus",
-    "Win32_System_SystemServices",
-    "Win32_System_Threading",
-    "Win32_System_Time",
-]
-
 [dev-dependencies]
 pretty_assertions = "1.2"
 
index 079322b29a6fbd0c19ceaa7090bdbe08586bbe20..8f2eec6870b4f1a92f8e173f30a31d02751e4378 100644 (file)
@@ -82,22 +82,6 @@ walkdir = "2.2"
 # for more information.
 rustc-workspace-hack = "1.0.0"
 
-[target.'cfg(windows)'.dependencies]
-fwdansi = "1.1.0"
-
-[target.'cfg(windows)'.dependencies.windows-sys]
-version = "0.45"
-features = [
-  "Win32_Foundation",
-  "Win32_Storage_FileSystem",
-  "Win32_System_Console",
-  "Win32_System_IO",
-  "Win32_System_Threading",
-  "Win32_System_JobObjects",
-  "Win32_Security",
-  "Win32_System_SystemServices"
-]
-
 [dev-dependencies]
 cargo-test-macro = { path = "crates/cargo-test-macro" }
 cargo-test-support = { path = "crates/cargo-test-support" }
index 91e6e4e34c16fa6624df192f3f16304ea120df64..e2a69b450c557ca5fb0e83f282d15d6f4d6c8365 100644 (file)
@@ -27,6 +27,3 @@ termcolor = "1.1.2"
 time = { version = "0.3", features = ["parsing", "formatting"]}
 toml = "0.7.0"
 url = "2.2.2"
-
-[target.'cfg(windows)'.dependencies]
-windows-sys = { version = "0.45.0", features = ["Win32_Storage_FileSystem"] }
index 7427ceb1a8e5c11093eda35ff53ff0bb0bc2c77a..1d2cd4862da8a3d189966fca3621b0d780732761 100644 (file)
@@ -22,7 +22,3 @@ walkdir = "2.3.1"
 
 [target.'cfg(target_os = "macos")'.dependencies]
 core-foundation = { version = "0.9.0", features = ["mac_os_10_7_support"] }
-
-[target.'cfg(windows)'.dependencies]
-miow = "0.5.0"
-windows-sys = { version = "0.45.0", features = ["Win32_Storage_FileSystem", "Win32_Foundation", "Win32_System_Console"] }
index 2c5b92bcbb6708b954feb4b14be2c552a7c203e6..fc78ba0f8c52d79d3276285628cb51fc85ea254e 100644 (file)
@@ -15,6 +15,3 @@ license = "MIT OR Apache-2.0"
 readme = "README.md"
 repository = "https://github.com/rust-lang/cargo"
 description = "Shared definitions of home directories."
-
-[target.'cfg(windows)'.dependencies]
-windows-sys = { version = "0.45.0", features = ["Win32_Foundation", "Win32_UI_Shell"] }
index 85fd6523c82b190128d11bcfb714449ed9ddaaa9..f7b234554133241ce834b4b98cfb8fe5e3a5c6a9 100644 (file)
@@ -23,13 +23,3 @@ lazycell = "1.3.0"
 
 [target.'cfg(unix)'.dependencies]
 libc = "0.2"
-
-[target.'cfg(windows)'.dependencies]
-miow = "0.5"
-
-[target.'cfg(windows)'.dependencies.windows]
-version = "0.46.0"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Diagnostics_Debug",
-]
index f0f1900c78c56c7584faf1656f7017ffe023cecd..3137edbd4acb5e58cc7e0a3fc797e1165082d8b1 100644 (file)
@@ -67,12 +67,6 @@ tt.workspace = true
 vfs-notify.workspace = true
 vfs.workspace = true
 
-[target.'cfg(windows)'.dependencies]
-winapi = "0.3.9"
-
-[target.'cfg(not(target_env = "msvc"))'.dependencies]
-jemallocator = { version = "0.5.0", package = "tikv-jemallocator", optional = true }
-
 [dev-dependencies]
 expect-test = "1.4.0"
 jod-thread = "0.1.2"
index c881f2fd3f45e075f97c5382ee91dbf24fb08ff9..5cb4cb0bc3494d421fbbfeb431a22e2ee6a13242 100644 (file)
@@ -17,10 +17,6 @@ backtrace = { version = "0.3.65", optional = true }
 always-assert = { version = "0.1.2", features = ["log"] }
 # Think twice before adding anything here
 
-[target.'cfg(windows)'.dependencies]
-miow = "0.5.0"
-winapi = { version = "0.3.9", features = ["winerror"] }
-
 [features]
 # Uncomment to enable for the whole crate graph
 # default = [ "backtrace" ]