src/new/apple/xnu/mach/machine/_structs.rs
raw| 1 | //! Header: `mach/machine/_structs.h` |
| 2 | //! |
| 3 | //! <https://github.com/apple-oss-distributions/xnu/blob/main/osfmk/mach/machine/_structs.h> |
| 4 | |
| 5 | cfg_if! { |
| 6 | if #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] { |
| 7 | pub use crate::mach::i386::_structs::*; |
| 8 | } else if #[cfg(any(target_arch = "arm", target_arch = "aarch64"))] { |
| 9 | pub use crate::mach::arm::_structs::*; |
| 10 | } else { |
| 11 | // Unsupported arch |
| 12 | } |
| 13 | } |