x/mobile: output diagnostic messages when skipping variables and methods #41937
Labels
FeatureRequest
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
The current version of the gomobile/gobind tool silently skips methods and variables that are not supported by the bridge. The only indication that this has happened is found in the comments of the resulting bridge source files.
It would be very useful for the tool to also emit diagnostic messages to the console including the location of the objects that were skipped. This could be further extended with a mechanism to return a failure error code in the command if any objects were skipped, and some way to ignore these warnings for specific objects.
The text was updated successfully, but these errors were encountered: