Closed HarikrishnanBalagopal closed 6 months ago
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
Build using version 1.22.0
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