mirror of https://github.com/rust-lang/rust.git
rustc: Track link_args attributes on C stack cdecl natives as well
This commit is contained in:
parent
dcf0e807fb
commit
7ab0897ac6
|
@ -53,7 +53,8 @@ fn visit_view_item(e: env, i: @ast::view_item) {
|
|||
fn visit_item(e: env, i: @ast::item) {
|
||||
alt i.node {
|
||||
ast::item_native_mod(m) {
|
||||
if m.abi != ast::native_abi_rust && m.abi != ast::native_abi_cdecl {
|
||||
if m.abi != ast::native_abi_rust && m.abi != ast::native_abi_cdecl &&
|
||||
m.abi != ast::native_abi_c_stack_cdecl {
|
||||
ret;
|
||||
}
|
||||
let cstore = e.sess.get_cstore();
|
||||
|
|
Loading…
Reference in New Issue