extern crate ralloc; #[global_allocator] static ALLOCATOR: ralloc::Allocator = ralloc::Allocator; #[test] fn minimal() { let a = Box::new(1); let b = Box::new(2); let c = Box::new(3); assert_eq!(*a, 1); assert_eq!(*b, 2); assert_eq!(*c, 3); }