Rename "c-stack-cdecl" ABI to "cdecl"
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
native "c-stack-cdecl" mod libc = "" {
|
||||
native "cdecl" mod libc = "" {
|
||||
fn read(fd: int, buf: *u8, count: uint) -> int;
|
||||
fn write(fd: int, buf: *u8, count: uint) -> int;
|
||||
fn fread(buf: *u8, size: uint, n: uint, f: libc::FILE) -> uint;
|
||||
@@ -79,7 +79,7 @@ fn waitpid(pid: int) -> int {
|
||||
ret status;
|
||||
}
|
||||
|
||||
native "c-stack-cdecl" mod rustrt {
|
||||
native "cdecl" mod rustrt {
|
||||
fn rust_getcwd() -> str;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user