Remove native "x86stdcall" ABI
This commit is contained in:
parent
dec6b53761
commit
c7f0ca6063
6 changed files with 3 additions and 21 deletions
|
|
@ -427,7 +427,6 @@ type _mod = {view_items: [@view_item], items: [@item]};
|
|||
|
||||
tag native_abi {
|
||||
native_abi_rust_intrinsic;
|
||||
native_abi_x86stdcall;
|
||||
native_abi_c_stack_cdecl;
|
||||
native_abi_c_stack_stdcall;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2008,8 +2008,6 @@ fn parse_item_native_mod(p: parser, attrs: [ast::attribute]) -> @ast::item {
|
|||
let t = parse_str(p);
|
||||
if str::eq(t, "rust-intrinsic") {
|
||||
abi = ast::native_abi_rust_intrinsic;
|
||||
} else if str::eq(t, "x86stdcall") {
|
||||
abi = ast::native_abi_x86stdcall;
|
||||
} else if str::eq(t, "c-stack-cdecl") {
|
||||
abi = ast::native_abi_c_stack_cdecl;
|
||||
} else if str::eq(t, "c-stack-stdcall") {
|
||||
|
|
|
|||
|
|
@ -404,7 +404,6 @@ fn print_item(s: ps, &&item: @ast::item) {
|
|||
ast::native_abi_rust_intrinsic. {
|
||||
word_nbsp(s, "\"rust-intrinsic\"");
|
||||
}
|
||||
ast::native_abi_x86stdcall. { word_nbsp(s, "\"x86stdcall\""); }
|
||||
ast::native_abi_c_stack_cdecl. {
|
||||
word_nbsp(s, "\"c-stack-cdecl\"");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue