Skip to content

Commit

Permalink
Merge pull request #481 from mstange/push-vknqkznvxmzx
Browse files Browse the repository at this point in the history
Switch to mach2 and reduce the amount of binding code.
  • Loading branch information
mstange authored Feb 1, 2025
2 parents b7e9b42 + 0bf40d4 commit a1b1eec
Show file tree
Hide file tree
Showing 15 changed files with 185 additions and 42,873 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion samply/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ crossbeam-channel = "0.5.13"

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

mach = "0.3.2"
mach2 = "0.4.2"
lazy_static = "1.5.0"
flate2 = "1.0"
sysctl = "0.6.0"
Expand Down
4 changes: 2 additions & 2 deletions samply/src/mac/kernel_error.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use mach::kern_return::*;
use mach::message::*;
use mach2::kern_return::*;
use mach2::message::*;
use thiserror::Error;

pub const KERN_INSUFFICIENT_BUFFER_SIZE: kern_return_t = 52;
Expand Down
271 changes: 136 additions & 135 deletions samply/src/mac/mach_ipc/mod.rs → samply/src/mac/mach_ipc.rs

Large diffs are not rendered by default.

11 changes: 0 additions & 11 deletions samply/src/mac/mach_ipc/README.md

This file was deleted.

Loading

0 comments on commit a1b1eec

Please sign in to comment.