mod test { // #[test] fn test_size_of() { assert_eq!(std::mem::size_of::(), 0); // #[cfg(target_pointer_width = "64")] { assert_eq!(std::mem::size_of::(), 32); assert_eq!(std::mem::size_of::(), 32); } #[cfg(target_pointer_width = "32")] { assert_eq!(std::mem::size_of::(), 16); assert_eq!(std::mem::size_of::(), 16); } } }