Support x86 stdcall convention
This allows rust to call the Win32 API
This commit is contained in:
parent
682875929e
commit
c40d6265ce
7 changed files with 61 additions and 6 deletions
|
|
@ -155,6 +155,7 @@ fn enc_sty(&ioivec::writer w, &@ctxt cx, &ty::sty st) {
|
|||
}
|
||||
case (native_abi_cdecl) { w.write_char('c'); }
|
||||
case (native_abi_llvm) { w.write_char('l'); }
|
||||
case (native_abi_x86stdcall) { w.write_char('s'); }
|
||||
}
|
||||
enc_ty_fn(w, cx, args, out, return, ~[]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue