Skip to content

Commit 7ab0897

Browse files
committed
rustc: Track link_args attributes on C stack cdecl natives as well
1 parent dcf0e80 commit 7ab0897

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/comp/metadata/creader.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ fn visit_view_item(e: env, i: @ast::view_item) {
5353
fn visit_item(e: env, i: @ast::item) {
5454
alt i.node {
5555
ast::item_native_mod(m) {
56-
if m.abi != ast::native_abi_rust && m.abi != ast::native_abi_cdecl {
56+
if m.abi != ast::native_abi_rust && m.abi != ast::native_abi_cdecl &&
57+
m.abi != ast::native_abi_c_stack_cdecl {
5758
ret;
5859
}
5960
let cstore = e.sess.get_cstore();

0 commit comments

Comments
 (0)