Documentation
¶
Overview ¶
Package toolchain implements dynamic switching of Go toolchains.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestVersionSwitch string
TestVersionSwitch is set in the test go binary to the value in $TESTGO_VERSION_SWITCH. Valid settings are:
"switch" - simulate version switches by reinvoking the test go binary with a different TESTGO_VERSION. "mismatch" - like "switch" but forget to set TESTGO_VERSION, so it looks like we invoked a mismatched toolchain "loop" - like "mismatch" but forget the target check, causing a toolchain switching loop