Skip to content

Commit a1b1eec

Browse files
authored
Merge pull request #481 from mstange/push-vknqkznvxmzx
Switch to mach2 and reduce the amount of binding code.
2 parents b7e9b42 + 0bf40d4 commit a1b1eec

File tree

15 files changed

+185
-42873
lines changed

15 files changed

+185
-42873
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.

samply/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ crossbeam-channel = "0.5.13"
6060

6161
[target.'cfg(target_os = "macos")'.dependencies]
6262

63-
mach = "0.3.2"
63+
mach2 = "0.4.2"
6464
lazy_static = "1.5.0"
6565
flate2 = "1.0"
6666
sysctl = "0.6.0"

samply/src/mac/kernel_error.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
use mach::kern_return::*;
2-
use mach::message::*;
1+
use mach2::kern_return::*;
2+
use mach2::message::*;
33
use thiserror::Error;
44

55
pub const KERN_INSUFFICIENT_BUFFER_SIZE: kern_return_t = 52;

samply/src/mac/mach_ipc/mod.rs renamed to samply/src/mac/mach_ipc.rs

Lines changed: 136 additions & 135 deletions
Large diffs are not rendered by default.

samply/src/mac/mach_ipc/README.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)