Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: wasm: LinkError: "data segment does not fit in memory" #34395
There is a regression from 1.12 to 1.13, a program that successfully compiles and runs on Firefox and Google Chrome in Go 1.12 will not run when compiled with Go 1.13
Firefox gives the error:
Google Chrome gives the error:
The project is quite large and the Web Assembly file is ~50mb when uncompressed.
I'm happy to provide further details on request, however, I don't have a trivial program that reproduces this.
Thanks @Splizard. It will be very helpful to have further details for us to debug this further.
Since it is readily reproducible for you, may I also ask you to run a