Remove native "rust" ABI
This commit is contained in:
parent
b0c2416270
commit
1103fe8ca0
7 changed files with 2 additions and 13 deletions
|
|
@ -426,7 +426,6 @@ type anon_obj =
|
|||
type _mod = {view_items: [@view_item], items: [@item]};
|
||||
|
||||
tag native_abi {
|
||||
native_abi_rust;
|
||||
native_abi_cdecl;
|
||||
native_abi_llvm;
|
||||
native_abi_rust_intrinsic;
|
||||
|
|
|
|||
|
|
@ -2007,8 +2007,6 @@ fn parse_item_native_mod(p: parser, attrs: [ast::attribute]) -> @ast::item {
|
|||
if !is_word(p, "mod") {
|
||||
let t = parse_str(p);
|
||||
if str::eq(t, "cdecl") {
|
||||
} else if str::eq(t, "rust") {
|
||||
abi = ast::native_abi_rust;
|
||||
} else if str::eq(t, "llvm") {
|
||||
abi = ast::native_abi_llvm;
|
||||
} else if str::eq(t, "rust-intrinsic") {
|
||||
|
|
|
|||
|
|
@ -402,7 +402,6 @@ fn print_item(s: ps, &&item: @ast::item) {
|
|||
head(s, "native");
|
||||
alt nmod.abi {
|
||||
ast::native_abi_llvm. { word_nbsp(s, "\"llvm\""); }
|
||||
ast::native_abi_rust. { word_nbsp(s, "\"rust\""); }
|
||||
ast::native_abi_cdecl. { word_nbsp(s, "\"cdecl\""); }
|
||||
ast::native_abi_rust_intrinsic. {
|
||||
word_nbsp(s, "\"rust-intrinsic\"");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue