You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tinygo is very picky about the name of the go compiler executable.
It requires the command to run the go compiler to be go but sometimes that can cause issues if the version is not supported by tinygo.
This would be helpful at the moment, since TinyGo latest 0.35.0 doesn't support Go latest 1.24. I can't seem to find any way to tell TinyGo to use the previous Go 1.23.6 version that I've installed via the method in the docs linked above. Setting GOROOT doesn't help. Adding the previous version's bin folder to the path doesn't help. The only way seems to be to uninstall Go 1.24 and reinstall Go 1.23.6.
Tinygo is very picky about the name of the go compiler executable.
It requires the command to run the go compiler to be
go
but sometimes that can cause issues if the version is not supported by tinygo.Go already has a built-in way to manage different versions of the compiler.
https://go.dev/doc/manage-install#installing-multiple
But the compilers installed using this method have a different binary name. Example:
go1.21.3
I propose that tiny go should be able to detect Golang versions installed using this method automatically.
The text was updated successfully, but these errors were encountered: