Skip to content

Commit 84d6128

Browse files
[golang] explicitly set toolchain version (#11665)
Since we're operating inside of the main Go tree, we end up using the tip go.mod file, which typically defines a Go toolchain version which is not available yet. Explicitly setting GOTOOLCHAIN to "local" tells the toolchain to use the right (available) version, instead of trying to download the tip version. This should fix the build... I think.
1 parent 47443ed commit 84d6128

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

projects/golang/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ then
2222

2323
fi
2424

25+
export GOTOOLCHAIN="local"
26+
2527
export FUZZ_ROOT="github.com/dvyukov/go-fuzz-corpus"
2628

2729
cd $SRC/text

0 commit comments

Comments
 (0)