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

Comments

@hajimehoshi
Copy link
Member

@hajimehoshi hajimehoshi commented Aug 28, 2020

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 this to the Unreleased milestone Aug 28, 2020
@hajimehoshi
Copy link
Member Author

@hajimehoshi hajimehoshi commented Aug 28, 2020

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 :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants