Debian Codegraph @

third_party/rust/mach/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 #![cfg_attr(feature = "rustc-dep-of-std", feature(no_core))]
6 #![cfg_attr(feature = "rustc-dep-of-std", no_core)]
7 #![cfg_attr(not(feature = "rustc-dep-of-std"), no_std)]
8 #![allow(
9 clippy::module_name_repetitions,
10 clippy::cast_sign_loss,
11 clippy::cast_possible_truncation,
12 clippy::trivially_copy_pass_by_ref
13 )]
14
15 #[cfg(not(any(target_os = "macos", target_os = "ios")))]
16 compile_error!("mach requires MacOSX or iOS");
17
18 #[cfg(feature = "rustc-dep-of-std")]
19 extern crate rustc_std_workspace_core as core;
20
21 extern crate libc;
22
23 #[allow(unused_imports)]
24 use core::{clone, cmp, default, fmt, hash, marker, mem, option};
25
26 pub mod boolean;
27 pub mod bootstrap;
28 pub mod clock;
29 pub mod clock_priv;
30 pub mod clock_reply;
31 pub mod clock_types; // TODO: test
32 pub mod dyld_kernel;
33 // pub mod error; // TODO
34 pub mod exc;
35 pub mod exception_types;
36 pub mod kern_return;
37 pub mod mach_init;
38 pub mod mach_port;
39 pub mod mach_time;
40 pub mod mach_types;
41 pub mod memory_object_types;
42 pub mod message;
43 pub mod port;
44 pub mod structs;
45 pub mod task;
46 pub mod task_info;
47 pub mod thread_act;
48 pub mod thread_status;
49 pub mod traps;
50 pub mod vm;
51 pub mod vm_attributes;
52 pub mod vm_behavior;
53 pub mod vm_inherit;
54 pub mod vm_page_size;
55 pub mod vm_prot;
56 pub mod vm_purgable;
57 pub mod vm_region;
58 pub mod vm_statistics;
59 pub mod vm_sync;
60 pub mod vm_types;