Skip to content

Commit 4ceedbd

Browse files
committed
mach is deprecated, update to mach2
1 parent e3087e4 commit 4ceedbd

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ edition = "2018"
1717
[badges]
1818
maintenance = { status = "passively-maintained" }
1919

20-
[target.'cfg(all(any(target_os = "macos", target_os = "ios"), not(feature = "unix_sysv")))'.dependencies.mach]
21-
version = "0.3"
20+
[target.'cfg(all(any(target_os = "macos", target_os = "ios"), not(feature = "unix_sysv")))'.dependencies.mach2]
21+
version = "0.4.1"
2222
default-features = false
2323

2424
[target.'cfg(target_os = "windows")'.dependencies.winapi]

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ extern crate core;
151151
any(target_os = "macos", target_os = "ios"),
152152
not(feature = "unix_sysv")
153153
))]
154-
extern crate mach;
154+
extern crate mach2;
155155

156156
#[cfg(unix)]
157157
extern crate libc;

src/mirrored/macos.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use super::mem;
66

7-
use mach;
7+
use mach2 as mach;
88
use mach::boolean::boolean_t;
99
use mach::kern_return::*;
1010
use mach::mach_types::mem_entry_name_port_t;

0 commit comments

Comments
 (0)