Register new snapshots

This commit is contained in:
Alex Crichton 2015-02-17 19:49:22 -08:00
parent 665ea963d3
commit 47f91a9484
30 changed files with 25 additions and 547 deletions

View file

@ -11,7 +11,7 @@
extern crate libc;
use std::mem;
use std::thread::Thread;
use std::thread;
#[link(name = "rust_test_helpers")]
extern {
@ -21,9 +21,9 @@ extern {
pub fn main() {
unsafe {
Thread::scoped(move|| {
let i = &100;
rust_dbg_call(callback, mem::transmute(i));
thread::spawn(move|| {
let i = 100;
rust_dbg_call(callback, mem::transmute(&i));
}).join();
}
}