aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/creader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/front/creader.rs')
-rw-r--r--src/comp/front/creader.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/comp/front/creader.rs b/src/comp/front/creader.rs
index cdbafe5a..a9660bf5 100644
--- a/src/comp/front/creader.rs
+++ b/src/comp/front/creader.rs
@@ -141,9 +141,10 @@ fn parse_ty(@pstate st, str_def sd) -> ty.t {
case ('N') {
auto abi;
alt (next(st) as char) {
- case ('r') {abi = ast.native_abi_rust;}
- case ('c') {abi = ast.native_abi_cdecl;}
- case ('l') {abi = ast.native_abi_llvm;}
+ case ('r') { abi = ast.native_abi_rust; }
+ case ('i') { abi = ast.native_abi_rust_intrinsic; }
+ case ('c') { abi = ast.native_abi_cdecl; }
+ case ('l') { abi = ast.native_abi_llvm; }
}
auto func = parse_ty_fn(st, sd);
ret ty.mk_native_fn(st.tcx,abi,func._0,func._1);