1
Fork 0

rustc: Add a new "C stack cdecl" native ABI

This commit is contained in:
Patrick Walton 2011-09-28 12:58:03 -07:00
parent 657e3ffaf5
commit f7d0c1cec3
6 changed files with 14 additions and 1 deletions

View file

@ -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, []);
}