Skip to content

Commit 5f6110a

Browse files
committed
Use the computed abi :-(
1 parent ffcb461 commit 5f6110a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comp/front/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1776,7 +1776,7 @@ impure fn parse_item_native_mod(parser p) -> @ast.item {
17761776
native_name = default_native_name(p.get_session(), id);
17771777
}
17781778
expect(p, token.LBRACE);
1779-
auto m = parse_native_mod_items(p, native_name, ast.native_abi_cdecl);
1779+
auto m = parse_native_mod_items(p, native_name, abi);
17801780
auto hi = p.get_span();
17811781
expect(p, token.RBRACE);
17821782
auto item = ast.item_native_mod(id, m, p.next_def_id());

0 commit comments

Comments
 (0)