Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/golang: use GOROOT to find the correct compiler.
Previously, if one set the GOROOT environment variable, we would not actually use the the compiler found in $GOROOT/bin/go, but the compiler found in $PATH. build.Context.GOROOT is by default the compiled code's GOROOT, unless the GOROOT environment variable is set.
- Loading branch information