File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
branches/snap-stage3/src/test/run-pass Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 03cdc2476da62ce3d55d18c649f2b479baa89794
4
+ refs/heads/snap-stage3: 93bb030a8cf2b3906c926b540a4f2833bb4da61c
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change 1
1
// ABI is cdecl by default
2
2
3
3
extern mod rustrt {
4
- fn get_task_id ( ) -> int ;
4
+ fn get_task_id ( ) -> libc :: intptr_t ;
5
5
}
6
6
7
7
fn main ( ) {
Original file line number Diff line number Diff line change 1
1
#[ link( name = "get_task_id" ) ] ;
2
2
3
3
extern mod rustrt {
4
- fn get_task_id ( ) -> int ;
4
+ fn get_task_id ( ) -> libc :: intptr_t ;
5
5
}
6
6
7
7
fn main ( ) { }
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ mod test_foreign_items {
163
163
#[ attr] ;
164
164
165
165
#[ attr]
166
- fn get_task_id ( ) -> int ;
166
+ fn get_task_id ( ) -> libc :: intptr_t ;
167
167
}
168
168
}
169
169
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import std::rand;
8
8
extern mod rustrt {
9
9
fn debug_get_stk_seg ( ) -> * u8 ;
10
10
11
- fn rust_get_sched_id ( ) -> int ;
11
+ fn rust_get_sched_id ( ) -> libc :: intptr_t ;
12
12
fn last_os_error ( ) -> ~str ;
13
13
fn rust_getcwd ( ) -> ~str ;
14
14
fn get_task_id ( ) ;
You can’t perform that action at this time.
0 commit comments