rustc: Stub support for Rust intrinsics
This commit is contained in:
parent
2bc17adc29
commit
ac8eb20224
4 changed files with 61 additions and 28 deletions
|
@ -2015,6 +2015,8 @@ fn parse_item_native_mod(parser p) -> @ast.item {
|
|||
abi = ast.native_abi_rust;
|
||||
} else if (_str.eq(t, "llvm")) {
|
||||
abi = ast.native_abi_llvm;
|
||||
} else if (_str.eq(t, "rust-intrinsic")) {
|
||||
abi = ast.native_abi_rust_intrinsic;
|
||||
} else {
|
||||
p.err("unsupported abi: " + t);
|
||||
fail;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue