1 #![allow(deprecated)] // llvm_asm! 2 #![deny(warnings)] 3 #![no_std] 4 #![cfg_attr(any( 5 target_arch = "arm", 6 target_arch = "mips", 7 target_arch = "mips64", 8 target_arch = "powerpc", 9 target_arch = "powerpc64", 10 target_arch = "sparc64", 11 target_arch = "x86" 12 ), feature(llvm_asm))] 13 14 #[cfg(test)] 15 extern crate std; 16 17 pub use platform::*; 18 19 pub mod macros; 20 21 22 #[cfg(all(any(target_os = "dragonos"), 23 target_arch = "x86_64"))] 24 #[path="platform/x86_64/mod.rs"] 25 pub mod platform; 26