Description: avoid Mac-only crates
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-07-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -282,7 +282,6 @@
 heck = "0.5"
 similar = "2.1.0"
 toml = "0.8.10"
-mach2 = "0.4.2"
 memfd = "0.6.2"
 psm = "0.1.11"
 proptest = "1.0.0"
--- a/crates/wasmtime/Cargo.toml
+++ b/crates/wasmtime/Cargo.toml
@@ -75,9 +75,6 @@
 [target.'cfg(target_os = "linux")'.dependencies]
 memfd = { workspace = true, optional = true }
 
-[target.'cfg(target_os = "macos")'.dependencies]
-mach2 = { workspace = true, optional = true }
-
 [target.'cfg(unix)'.dependencies]
 rustix = { workspace = true, optional = true }
 
@@ -188,7 +185,6 @@
 runtime = [
   "dep:cc",
   "dep:smallvec",
-  "dep:mach2",
   "dep:memfd",
   "dep:wasmtime-asm-macros",
   "dep:wasmtime-jit-icache-coherence",
