-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@link("lib")
is ignored with top-level @extern
methods
#3603
Comments
I think scala-native/tools/src/main/scala/scala/scalanative/linker/Reach.scala Lines 630 to 643 in de31196
|
Thank you for report and the reproducer. I think we were not checking method annotations in the compiler plugin. The fix is on the way. |
While
does add
-lunit
to the linking options, the equivalent top-level definition doesn't add linking options:The text was updated successfully, but these errors were encountered: