File: 2002_no_macos.patch

package info (click to toggle)
rust-wasmtime 26.0.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 50,312 kB
  • sloc: ansic: 4,003; sh: 561; javascript: 542; cpp: 254; asm: 175; ml: 96; makefile: 55
file content (36 lines) | stat: -rw-r--r-- 898 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
@@ -284,7 +284,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",