Debian Codegraph @

third_party/rust/mach2/src/lib.rs

raw
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(any(target_os = "macos", target_os = "ios")))]
14 compile_error!("mach requires macOS or iOS");
15
16 extern crate libc;
17
18 #[allow(unused_imports)]
19 use core::{clone, cmp, default, fmt, hash, marker, mem, option};
20
21 pub mod boolean;
22 pub mod bootstrap;
23 pub mod clock;
24 pub mod clock_priv;
25 pub mod clock_reply;
26 pub mod clock_types; // TODO: test
27 pub mod dyld_kernel;
28 // pub mod error; // TODO
29 pub mod exc;
30 pub mod exception_types;
31 pub mod kern_return;
32 pub mod mach_init;
33 pub mod mach_port;
34 pub mod mach_time;
35 pub mod mach_types;
36 pub mod memory_object_types;
37 pub mod message;
38 pub mod port;
39 pub mod structs;
40 pub mod task;
41 pub mod task_info;
42 pub mod thread_act;
43 pub mod thread_policy;
44 pub mod thread_status;
45 pub mod traps;
46 pub mod vm;
47 pub mod vm_attributes;
48 pub mod vm_behavior;
49 pub mod vm_inherit;
50 pub mod vm_page_size;
51 pub mod vm_prot;
52 pub mod vm_purgable;
53 pub mod vm_region;
54 pub mod vm_statistics;
55 pub mod vm_sync;
56 pub mod vm_types;