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

wasip1: compile user_posix.go on GOOS=wasip1 #1130

Closed
wants to merge 1 commit into from

Conversation

achille-roussel
Copy link

Hello!

The upcoming Go 1.21 is going to a new port named wasip1. At this time lib/pq fails to compile for this new target due to the user_*.go build tags. See the draft release notes for details https://tip.golang.org/doc/go1.21#wasip1

With this PR, I would like to suggest that we add the wasip1 tag to user_posix.go so the file gets included in Go programs compiled with GOOS=wasip1, which then defines the missing userCurrent function.

Please let me know if you have any questions!

Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
@dispatchrun dispatchrun closed this by deleting the head repository Apr 23, 2024
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