1
Fork 0

fix no-longer-unsupervise test cases on windows

This commit is contained in:
Ben Blum 2012-07-17 21:48:15 -04:00
parent 03cdc2476d
commit 93bb030a8c
4 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
// ABI is cdecl by default
extern mod rustrt {
fn get_task_id() -> int;
fn get_task_id() -> libc::intptr_t;
}
fn main() {

View file

@ -1,7 +1,7 @@
#[link(name = "get_task_id")];
extern mod rustrt {
fn get_task_id() -> int;
fn get_task_id() -> libc::intptr_t;
}
fn main() { }

View file

@ -163,7 +163,7 @@ mod test_foreign_items {
#[attr];
#[attr]
fn get_task_id() -> int;
fn get_task_id() -> libc::intptr_t;
}
}

View file

@ -8,7 +8,7 @@ import std::rand;
extern mod rustrt {
fn debug_get_stk_seg() -> *u8;
fn rust_get_sched_id() -> int;
fn rust_get_sched_id() -> libc::intptr_t;
fn last_os_error() -> ~str;
fn rust_getcwd() -> ~str;
fn get_task_id();