diff options
| author | Patrick Walton <[email protected]> | 2011-05-03 18:03:59 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-05-03 18:03:59 -0700 |
| commit | ac8eb202247b61412143c621a1ccdcb167d6f313 (patch) | |
| tree | fb3acfd59670ebb27c6e35ce3d6ab857be8f9a0a /src/comp/front/parser.rs | |
| parent | Revert "Rename the "llvm" API to "llvm-intrinsic"" due to tinderbox bustage (diff) | |
| download | rust-ac8eb202247b61412143c621a1ccdcb167d6f313.tar.xz rust-ac8eb202247b61412143c621a1ccdcb167d6f313.zip | |
rustc: Stub support for Rust intrinsics
Diffstat (limited to 'src/comp/front/parser.rs')
| -rw-r--r-- | src/comp/front/parser.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index b886e8ae..e7a86d6e 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -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; |