Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/mobile: output diagnostic messages when skipping variables and methods #41937
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.