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

x/mobile/cmd/gomobile: proposal: -race flag #41096

Open
hajimehoshi opened this issue Aug 28, 2020 · 1 comment
Open

x/mobile/cmd/gomobile: proposal: -race flag #41096

hajimehoshi opened this issue Aug 28, 2020 · 1 comment
Labels
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

Comments

@hajimehoshi
Copy link
Member

I propose to add -race flag to gomobile command, as the regular go command does. This should be useful to detect race conditions.

@hyangah, @dmitshur Any thoughts?

@gopherbot gopherbot added the mobile Android, iOS, and x/mobile label Aug 28, 2020
@gopherbot gopherbot added this to the Unreleased milestone Aug 28, 2020
@hajimehoshi
Copy link
Member Author

Realized that -race is available in the limited archtectures:

        -race
                enable data race detection.
                Supported only on linux/amd64, freebsd/amd64, darwin/amd64, windows/amd64,
                linux/ppc64le and linux/arm64 (only for 48-bit VMA).

Then this would be available only on darwin/amd64 iOS. Then this is not so useful :-/

@cagedmantis cagedmantis added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Aug 31, 2020
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 NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants