move more native "rust" to native "c-stack-cdecl"
This commit is contained in:
parent
910f7c6dd3
commit
af99b4b0dc
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user