1 2 3 4 5 6 7 8 9 10 11 12
#![cfg_attr(not(any(test, feature = "std")), no_std)] pub mod mem; pub mod sync; #[cfg(any(test, feature = "std"))] pub mod collections; #[cfg(not(any(test, feature = "std")))] #[panic_handler] fn my_panic(_info: &core::panic::PanicInfo) -> ! { loop {} }