mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
fix no-longer-unsupervise test cases on windows
This commit is contained in:
@@ -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 @@
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user