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

mlock: Remove android build tag #16

Merged
merged 1 commit into from
Nov 22, 2021
Merged

mlock: Remove android build tag #16

merged 1 commit into from
Nov 22, 2021

Conversation

paulburlumi
Copy link
Contributor

Using GOOS=android matches build tags and files as for GOOS=linux in addition to android tags and files.
See https://groups.google.com/g/golang-nuts/c/ZTGMjhEV7uY for further details.

Without this change when using gomobile bind I see the following error:

# github.com/hashicorp/go-secure-stdlib/mlock
../pkg/mod/github.com/hashicorp/go-secure-stdlib/mlock@v0.1.1/mlock_unix.go:15:6: lockMemory redeclared in this block
        /tmp/gomobile-work-2337392267/pkg/mod/github.com/hashicorp/go-secure-stdlib/mlock@v0.1.1/mlock_unavail.go:9:19: previous declaration

@paulburlumi paulburlumi changed the title Remove android build tag mlock: Remove android build tag Nov 1, 2021
Copy link
Member

@jefferai jefferai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@jefferai jefferai merged commit 002fddc into hashicorp:main Nov 22, 2021
@paulburlumi paulburlumi deleted the dev/mlock_fix_android branch November 23, 2021 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants