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

proposal: x/mobile: bind support list of types to not export #71162

Open
xcolwell opened this issue Jan 7, 2025 · 1 comment
Open

proposal: x/mobile: bind support list of types to not export #71162

xcolwell opened this issue Jan 7, 2025 · 1 comment
Labels
mobile Android, iOS, and x/mobile Proposal
Milestone

Comments

@xcolwell
Copy link

xcolwell commented Jan 7, 2025

Proposal Details

gomobile bind currently tries to export all exported types. There are cases like RPC and encoding where some types might be exported by the package, but should not be exported by gomobile (due to language feature support). In these cases, it would be clearer for usage to have a list of unexported types, or a compiler annotation for types, than to see random warnings in the output about unsupported types.

@gopherbot gopherbot added this to the Proposal milestone Jan 7, 2025
@ianlancetaylor ianlancetaylor moved this to Incoming in Proposals Jan 8, 2025
@ianlancetaylor ianlancetaylor added the mobile Android, iOS, and x/mobile label Jan 8, 2025
@ianlancetaylor
Copy link
Member

CC @golang/android @golang/ios

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Android, iOS, and x/mobile Proposal
Projects
Status: Incoming
Development

No branches or pull requests

3 participants