fix no-longer-unsupervise test cases on windows
This commit is contained in:
parent
03cdc2476d
commit
93bb030a8c
4 changed files with 4 additions and 4 deletions
|
@ -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() {
|
||||
|
|
|
@ -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() { }
|
||||
|
|
|
@ -163,7 +163,7 @@ mod test_foreign_items {
|
|||
#[attr];
|
||||
|
||||
#[attr]
|
||||
fn get_task_id() -> int;
|
||||
fn get_task_id() -> libc::intptr_t;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue