move more native "rust" to native "c-stack-cdecl"

This commit is contained in:
Niko Matsakis 2011-10-20 07:14:23 -07:00 committed by Brian Anderson
parent 910f7c6dd3
commit af99b4b0dc
3 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ fn waitpid(pid: int) -> int {
ret status;
}
native "rust" mod rustrt {
native "c-stack-cdecl" mod rustrt {
fn rust_getcwd() -> str;
}

View File

@ -71,7 +71,7 @@ fn waitpid(pid: int) -> int {
ret status;
}
native "rust" mod rustrt {
native "c-stack-cdecl" mod rustrt {
fn rust_getcwd() -> str;
}

View File

@ -79,7 +79,7 @@ fn fd_FILE(fd: int) -> libc::FILE {
ret str::as_buf("r", {|modebuf| libc::_fdopen(fd, modebuf) });
}
native "rust" mod rustrt {
native "c-stack-cdecl" mod rustrt {
fn rust_process_wait(handle: int) -> int;
fn rust_getcwd() -> str;
}