Files
mystuff/devel/aichat/patches/patch-modcargo-crates_mmap-rs-0.6.1_Cargo.toml
2026-07-08 11:08:46 +02:00

12 lines
483 B
TOML

--- modcargo-crates/mmap-rs-0.6.1/Cargo.toml.orig.port Thu Jan 1 00:00:00 1970
+++ modcargo-crates/mmap-rs-0.6.1/Cargo.toml Tue Jul 8 00:00:00 2026
@@ -48,7 +48,7 @@
[target."cfg(unix)".dependencies.nix]
version = "0.26"
-[target."cfg(unix)".dependencies.sysctl]
+[target.'cfg(any(target_os = "linux", target_os = "android", target_os = "macos", target_os = "ios", target_os = "freebsd"))'.dependencies.sysctl]
version = "0.5"
[target."cfg(windows)".dependencies.widestring]