send.rs 224 B

12345678910111213
  1. extern crate ralloc;
  2. use std::thread;
  3. fn main() {
  4. for _ in 0..0xFFFF {
  5. let bx: Box<u64> = Box::new(0x11FE15C001);
  6. thread::spawn(move || {
  7. assert_eq!(*bx, 0x11FE15C001);
  8. });
  9. }
  10. }