• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 use tikv_jemallocator::Jemalloc;
2 
3 #[global_allocator]
4 static A: Jemalloc = Jemalloc;
5 
6 #[test]
smoke()7 fn smoke() {
8     let a = Box::new(3_u32);
9     assert!(unsafe { tikv_jemallocator::usable_size(&*a) } >= 4);
10 }
11