Skip to content

Commit af99b4b

Browse files
nikomatsakisbrson
authored andcommitted
move more native "rust" to native "c-stack-cdecl"
1 parent 910f7c6 commit af99b4b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/lib/linux_os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ fn waitpid(pid: int) -> int {
7272
ret status;
7373
}
7474

75-
native "rust" mod rustrt {
75+
native "c-stack-cdecl" mod rustrt {
7676
fn rust_getcwd() -> str;
7777
}
7878

src/lib/macos_os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fn waitpid(pid: int) -> int {
7171
ret status;
7272
}
7373

74-
native "rust" mod rustrt {
74+
native "c-stack-cdecl" mod rustrt {
7575
fn rust_getcwd() -> str;
7676
}
7777

src/lib/win32_os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ fn fd_FILE(fd: int) -> libc::FILE {
7979
ret str::as_buf("r", {|modebuf| libc::_fdopen(fd, modebuf) });
8080
}
8181

82-
native "rust" mod rustrt {
82+
native "c-stack-cdecl" mod rustrt {
8383
fn rust_process_wait(handle: int) -> int;
8484
fn rust_getcwd() -> str;
8585
}

0 commit comments

Comments
 (0)