From eff1a38f0de8d00307973cb6d8d67a9c5312b008 Mon Sep 17 00:00:00 2001 From: cuiweixie Date: Sat, 6 Aug 2022 08:46:52 +0800 Subject: [PATCH] build: default GOROOT_BOOTSTRAP in make.{bash,bat} error msg from 1.4 to 1.17 Fixes #54301 --- src/make.bash | 2 +- src/make.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/make.bash b/src/make.bash index 54bb0705139e5e..306cb65349fce1 100755 --- a/src/make.bash +++ b/src/make.bash @@ -172,7 +172,7 @@ IFS=$'\n'; for go_exe in $(type -ap go); do done; unset IFS if [ ! -x "$GOROOT_BOOTSTRAP/bin/go" ]; then echo "ERROR: Cannot find $GOROOT_BOOTSTRAP/bin/go." >&2 - echo "Set \$GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4." >&2 + echo "Set \$GOROOT_BOOTSTRAP to a working Go tree >= Go 1.17." >&2 exit 1 fi # Get the exact bootstrap toolchain version to help with debugging. diff --git a/src/make.bat b/src/make.bat index 29a9cce888986f..cfdd2a858d11c0 100644 --- a/src/make.bat +++ b/src/make.bat @@ -147,7 +147,7 @@ goto end :bootstrapfail echo ERROR: Cannot find %GOROOT_BOOTSTRAP%\bin\go.exe -echo Set GOROOT_BOOTSTRAP to a working Go tree ^>= Go 1.4. +echo Set GOROOT_BOOTSTRAP to a working Go tree ^>= Go 1.17. :fail set GOBUILDFAIL=1