d-0020-remove-windows-dependencies
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Mon, 6 May 2024 08:25:32 +0000 (10:25 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Fri, 4 Apr 2025 16:24:50 +0000 (18:24 +0200)
commit1f0fa49e26e986969630d22ea8f5bc5f8670398f
treeeed66f18c62f639267deabd8138a67dffc613ee2
parente4b8ee48ec4e216f0566f660ac50060cb48ff710
d-0020-remove-windows-dependencies

use something like

 find src compiler library -iname Cargo.toml -exec grep -H -n -e 'windows-sys' -e 'winapi' -e 'ntapi' -e 'wincon' -e 'winreg' -e 'windows' {} \;

to find and eliminate dependencies on windows-only crates when rebasing.

windows-bindgen and windows-metadata should not be removed, they are needed for
the build and don't pull in windows-sys and friends.

Forwarded: not-needed

===================================================================

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0020-remove-windows-dependencies.patch
26 files changed:
compiler/rustc_codegen_ssa/Cargo.toml
compiler/rustc_data_structures/Cargo.toml
compiler/rustc_driver_impl/Cargo.toml
compiler/rustc_errors/Cargo.toml
compiler/rustc_session/Cargo.toml
library/backtrace/Cargo.toml
library/backtrace/crates/as-if-std/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/cargo/credential/cargo-credential/Cargo.toml
src/tools/cargo/src/cargo/util/auth/mod.rs
src/tools/compiletest/Cargo.toml
src/tools/rust-analyzer/crates/profile/Cargo.toml
src/tools/rust-analyzer/crates/rust-analyzer/Cargo.toml
src/tools/rust-analyzer/crates/stdx/Cargo.toml
src/tools/rustc-perf/collector/Cargo.toml
src/tools/rustc-perf/collector/compile-benchmarks/cargo-0.60.0/Cargo.toml
src/tools/rustc-perf/collector/compile-benchmarks/style-servo/components/gfx/Cargo.toml
src/tools/rustc-perf/collector/compile-benchmarks/style-servo/components/style/Cargo.toml
src/tools/rustc-perf/collector/compile-benchmarks/tokio-webpush-simple/native-tls-0.1.5/Cargo.toml
src/tools/rustc-perf/collector/compile-benchmarks/webrender-2022/example-compositor/compositor/Cargo.toml
src/tools/rustc-perf/collector/compile-benchmarks/webrender-2022/webrender/Cargo.toml
src/tools/rustc-perf/collector/compile-benchmarks/webrender-2022/wrench/Cargo.toml