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
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
cmd/dist: don't build tools for wasm build #25911
Figured it out. It is this line which runs before the
I am using Go1.10 to bootstrap. Hence it does not support
Also, how do I run tests ? I see this -
Obviously wasm won't run natively. Do I need to use
That is it :)
linux/amd64. Ubuntu 16.04.
Just guessing, but probably 1.4 does not have an explicit whitelist of GOOS/GOARCH pairs like 1.10 ?
You didn't answer the question about what is in your environment. Do you define GOROOT_BOOTSTRAP?
Might be related, but I can build js/wasm with go1.10:
Ah, by environment, you meant environment variables. No I am not defining GOROOT_BOOTSTRAP. And by explicitly defining it, it works because it bypasses that check on L144 :)
Thank you for helping me debug this.
Yea I had. But faced minor bumps while persevering through the code.
I can see that the