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

Fix build tags for user_other file. #1087

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Toasterson
Copy link

During the compilation of gitea on illumos I ran into the issue that both user_posix.go and user_other.go where considered for inclusion by the golang compiler with golang 1.18.

This PR forces the golang compiler to exclude user_other on all platforms mentioned in user_posix.

Testing on Windows should be done for this PR as I do not own any Windows machine and it is likely that user_other.go also conflicts withuser_windows.go.

@cbandy
Copy link
Contributor

cbandy commented Jul 28, 2022

What is your GOOS ?

@Toasterson
Copy link
Author

GOOS="illumos"

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