Skip to main content

machx/
lib.rs

1#![allow(non_camel_case_types)]
2#![allow(non_upper_case_globals)]
3#![deny(missing_debug_implementations)]
4#![deny(missing_copy_implementations)]
5#![allow(
6    clippy::module_name_repetitions,
7    clippy::cast_sign_loss,
8    clippy::cast_possible_truncation,
9    clippy::trivially_copy_pass_by_ref
10)]
11#![no_std]
12
13#[cfg(not(target_vendor = "apple"))]
14compile_error!("mach requires macOS, iOS, tvOS, watchOS or visionOS");
15
16#[allow(unused_imports)]
17use core::{clone, cmp, default, fmt, hash, marker, mem, option};
18
19pub mod boolean;
20pub mod bootstrap;
21pub mod clock;
22pub mod clock_priv;
23pub mod clock_reply;
24pub mod clock_types;
25pub mod dyld;
26pub mod dyld_images;
27pub mod dyld_kernel;
28pub mod error;
29pub mod exc;
30pub mod exception_types;
31pub mod kern_return;
32pub mod libproc;
33pub mod loader;
34pub mod mach_debug;
35pub mod mach_init;
36pub mod mach_port;
37pub mod mach_time;
38pub mod mach_types;
39pub mod mach_voucher_types;
40pub mod memory_object_types;
41pub mod message;
42pub mod mig;
43pub mod ndr;
44pub mod notify;
45pub mod policy;
46pub mod port;
47pub mod semaphore;
48pub mod structs;
49pub mod sync_policy;
50pub mod task;
51pub mod task_info;
52pub mod task_inspect;
53pub mod task_special_ports;
54pub mod thread_act;
55pub mod thread_policy;
56pub mod thread_special_ports;
57pub mod thread_state;
58pub mod thread_status;
59pub mod thread_switch;
60pub mod time_value;
61pub mod traps;
62pub mod vm;
63pub mod vm_attributes;
64pub mod vm_behavior;
65pub mod vm_inherit;
66pub mod vm_page_size;
67pub mod vm_prot;
68pub mod vm_purgable;
69pub mod vm_region;
70pub mod vm_statistics;
71pub mod vm_sync;
72pub mod vm_types;