From ac8eb202247b61412143c621a1ccdcb167d6f313 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Tue, 3 May 2011 18:03:59 -0700 Subject: rustc: Stub support for Rust intrinsics --- src/comp/front/parser.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/comp/front/parser.rs') 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; -- cgit v1.2.3