Sha256: 8da26c8cc1f40f2c5cc46b4bd125b16f030bb52679695db4f5da4eb0f7e8a977
Contents?: true
Size: 222 Bytes
Versions: 14
Compression:
Stored size: 222 Bytes
Contents
#[no_mangle] pub extern "C" fn rust_arch_bits() -> i32 { use std::mem::size_of; let s = size_of::<usize>() * 8; s as i32 } #[test] fn it_is_32_or_64(){ assert!(rust_arch_bits() == 32 || rust_arch_bits() == 64); }
Version data entries
14 entries across 14 versions & 1 rubygems