Description: avoid Windows-only crates
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-02-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/cranelift/interpreter/Cargo.toml
+++ b/cranelift/interpreter/Cargo.toml
@@ -21,9 +21,6 @@
 smallvec = { workspace = true }
 thiserror = { workspace = true }
 
-[target.x86_64-pc-windows-gnu.dependencies]
-libm = "0.2.4"
-
 [dev-dependencies]
 cranelift-frontend = { workspace = true }
 cranelift-reader = { workspace = true }
--- a/cranelift/jit/Cargo.toml
+++ b/cranelift/jit/Cargo.toml
@@ -27,14 +27,6 @@
 log = { workspace = true }
 wasmtime-jit-icache-coherence = { workspace = true, path = "../../crates/jit-icache-coherence" }
 
-[target.'cfg(windows)'.dependencies.windows-sys]
-workspace = true
-features = [
-    "Win32_Foundation",
-    "Win32_System_LibraryLoader",
-    "Win32_System_Memory",
-]
-
 [features]
 selinux-fix = ['memmap2']
 default = []
--- a/crates/jit-icache-coherence/Cargo.toml
+++ b/crates/jit-icache-coherence/Cargo.toml
@@ -16,14 +16,6 @@
 cfg-if = { workspace = true }
 anyhow = { workspace = true }
 
-[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
-workspace = true
-features = [
-    "Win32_Foundation",
-    "Win32_System_Threading",
-    "Win32_System_Diagnostics_Debug",
-]
-
 [target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "android"))'.dependencies]
 libc = { workspace = true }
 
