On Wednesday, 16 August 2023 at 10:15:50 UTC+1 Christoph Berger wrote: I would assume that GOTOOLCHAIN=local does what you want.
The doc <https://go.dev/doc/toolchain> says, > When GOTOOLCHAIN is set to local, the go command always runs the bundled Go toolchain. That's the conclusion I came to. I wasn't entirely sure what was meant by "bundled" at first but in this context I think it means the go toolchain that has been manually installed. The author of this proposal <https://github.com/docker-library/golang/issues/472> in docker-library/golang also assumes that GOTOOLCHAIN=local preserves pre-1.21 behavior. I'll take that as confirmation. Thanks -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/85124775-b026-4dbe-af2a-f8260bd31478n%40googlegroups.com.