You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently extern is only allowed on function declarations, but compilers accept and ignore extern on function definitions just fine.
Trying to just patch in Just (CExtern _) -> return ([Rust.Attribute "no_mangle"], Rust.Public) isn't enough though, because that then causes an error runOnce action depends on itself; looks like interpretDeclarations is somehow matching anything with CExtern, not just declarations?
The text was updated successfully, but these errors were encountered:
Currently extern is only allowed on function declarations, but compilers accept and ignore
extern
on function definitions just fine.Trying to just patch in
Just (CExtern _) -> return ([Rust.Attribute "no_mangle"], Rust.Public)
isn't enough though, because that then causes an errorrunOnce action depends on itself
; looks likeinterpretDeclarations
is somehow matching anything with CExtern, not just declarations?The text was updated successfully, but these errors were encountered: