Registry / other / mach
library0.3.2rscratesunverified

A Rust interface to the user-space API of the Mach 3.0 kernel that underlies OSX.

# Cargo.toml [dependencies] mach = "0.3.2"
INSTALL
IMPORT
SIG · MACH
M
mach
otherrustv0.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mach_port_t
use mach::mach_port::mach_port_t;

Demonstrates usage of the Mach port type.

use mach::mach_port::mach_port_t; fn main() { let port: mach_port_t = 0; println!("Mach port: {}", port); }
Debug
Known issues
gotchaOnly works on macOS/iOS systems; not portable to other platforms.
fix
Use conditional compilation with #[cfg(target_os = "macos")] or similar.
affects: >=0.3.0
Upgrade
Version history
0.3.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
mach — cargo add mach · libregistry