Skip to content
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

Add linkage type for Pub packages (Flutter / Dart) #3085

Open
sschuberth opened this issue Sep 17, 2020 · 3 comments
Open

Add linkage type for Pub packages (Flutter / Dart) #3085

sschuberth opened this issue Sep 17, 2020 · 3 comments
Labels
analyzer About the analyzer tool enhancement Issues that are considered to be enhancements help wanted An issue where third-party help is wanted on

Comments

@sschuberth
Copy link
Member

I concluded it was not supported because for Pub packages (Flutter / Dart) the dependencies were not indicated as statically linked.

Should I report that as a separate issue?

Originally posted by @timovandeput in #3084 (comment)

@sschuberth sschuberth added analyzer About the analyzer tool enhancement Issues that are considered to be enhancements labels Sep 17, 2020
@timovandeput
Copy link

FYI: To my best knowledge, Pub packages can only be statically linked because they end up in a single integrated binary executable.

@sschuberth
Copy link
Member Author

At least https://flutter.dev/docs/development/platform-integration/c-interop#dynamic-vs-static-linking describes both, so I'd assume also both is possible, and we need a way to detect the linkage type. But I'm no Flutter / Dart expert after all...

@timovandeput
Copy link

That specific documentation refers to the integration of (e.g. a statically linked Pub package) with native code that interacts with native Android or iOS code. So it relates to the static/dynamic linking of native code within the library that is exposed by Pub.

I don't believe these dynamically linked libraries are in any way exposed via Pub.

@sschuberth sschuberth added the help wanted An issue where third-party help is wanted on label Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer About the analyzer tool enhancement Issues that are considered to be enhancements help wanted An issue where third-party help is wanted on
Projects
None yet
Development

No branches or pull requests

2 participants