rustc: Add a new "C stack cdecl" native ABI
This commit is contained in:
parent
657e3ffaf5
commit
f7d0c1cec3
6 changed files with 14 additions and 1 deletions
|
@ -147,6 +147,7 @@ fn enc_sty(w: io::writer, cx: @ctxt, st: ty::sty) {
|
|||
native_abi_cdecl. { w.write_char('c'); }
|
||||
native_abi_llvm. { w.write_char('l'); }
|
||||
native_abi_x86stdcall. { w.write_char('s'); }
|
||||
native_abi_c_stack_cdecl. { w.write_char('C'); }
|
||||
}
|
||||
enc_ty_fn(w, cx, args, out, return_val, []);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue