Registry / other / mach2
library0.6.0rscratesunverified

A Rust interface to the user-space API of the Mach 3.0 kernel underlying macOS.

# Cargo.toml [dependencies] mach2 = "0.6.0"
INSTALL
IMPORT
SIG · MACH2
M
mach2
otherrustv0.6.0
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 mach2::mach_port::mach_port_t;

Use Mach port types (requires macOS).

use mach2::mach_port::mach_port_t; let port: mach_port_t = 0; // Example placeholder println!("Mach port: {}", port);
Debug
Known issues
breakingmacOS-only; will not compile on other platforms.
fix
Use conditional compilation with #[cfg(target_os = "macos")].
affects: *
Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mach2 — cargo add mach2 · libregistry