-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/link: regression on building an app with GOOS=wasip1 GOARCH=wasm
#65786
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
Comments
Hmmm, I'm not sure if this is really a regression. It seems to be the same issue as #64856. I think we added some more functions in 1.22 and it made so now it is crossing the 2^16 limit more easily. cc @golang/wasm @golang/compiler |
Hi @HarikrishnanBalagopal I would agree with @mauri870 , this seems to be the same issue as #64856 ; it would be more productive to have the discussion all in one place. I am going to close this as a dup, please re-open if needed. |
Duplicate of #64856. |
Go version
go version go1.22.0 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
This is a wasm app that builds with
GOOS=wasip1
andGOARCH=wasm
Steps to reproduce:
Clone the
wasm
branch latest commit https://github.com/konveyor/move2kube/tree/6173004d80d1e21592374b54362f3d9a13ab3de5Use the docker container to build using different versions of the Go compiler
Using version 1.21.6 the build is successful
What did you see happen?
Build succeeds with v1.21.6 but fails with v1.22.0
What did you expect to see?
Build should succeed with v1.22.0 as well
The text was updated successfully, but these errors were encountered: