- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 326 for gotoolchain (0.37 sec)
-
src/cmd/go/testdata/script/gotoolchain_issue66175.txt
stderr 'go: invalid toolchain: go1.22 is a language version but not a toolchain version \(go1.22.x\)' env GOTOOLCHAIN=go1.20+auto ! go version stderr 'go: downloading go1.20 ' env GOTOOLCHAIN=go1.21+auto ! go version stderr 'go: invalid toolchain: go1.21 is a language version but not a toolchain version \(go1.21.x\)' env GOTOOLCHAIN=go1.22+auto ! go version
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 21:32:07 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/go/internal/toolchain/select.go
return } // Interpret GOTOOLCHAIN to select the Go toolchain to run. gotoolchain := cfg.Getenv("GOTOOLCHAIN") gover.Startup.GOTOOLCHAIN = gotoolchain if gotoolchain == "" { // cfg.Getenv should fall back to $GOROOT/go.env, // so this should not happen, unless a packager // has deleted the GOTOOLCHAIN line from go.env. // It can also happen if GOROOT is missing or broken,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:25:05 UTC 2024 - 23.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/env_changed.txt
# Test query for non-defaults in the env env GOROOT=./a env GOTOOLCHAIN=local env GOSUMDB=nodefault env GOPROXY=nodefault env GO111MODULE=auto env CGO_CFLAGS=nodefault env CGO_CPPFLAGS=nodefault go env -changed # linux output like GOTOOLCHAIN='local' # windows output like GOTOOLCHAIN=local stdout 'GOTOOLCHAIN=''?local''?' stdout 'GOSUMDB=''?nodefault''?' stdout 'GOPROXY=''?nodefault''?' stdout 'GO111MODULE=''?auto''?'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:49:03 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/go/internal/toolchain/switch.go
} return "go" + latest, nil } // HasAuto reports whether the GOTOOLCHAIN setting allows "auto" upgrades. func HasAuto() bool { env := cfg.Getenv("GOTOOLCHAIN") return env == "auto" || strings.HasSuffix(env, "+auto") } // HasPath reports whether the GOTOOLCHAIN setting allows "path" upgrades. func HasPath() bool { env := cfg.Getenv("GOTOOLCHAIN") return env == "path" || strings.HasSuffix(env, "+path")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 7K bytes - Viewed (0) -
hack/lib/golang.sh
if [ "${GOTOOLCHAIN:-auto}" != 'auto' ]; then # no-op, just respect GOTOOLCHAIN : elif [ -n "${FORCE_HOST_GO:-}" ]; then # ensure existing host version is used, like before GOTOOLCHAIN existed export GOTOOLCHAIN='local' else # otherwise, we want to ensure the go version matches GO_VERSION GOTOOLCHAIN="go${GO_VERSION}" export GOTOOLCHAIN
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 16:43:08 UTC 2024 - 32.8K bytes - Viewed (0) -
src/cmd/distpack/pack.go
// // To test that the module downloads are usable with the go command: // // ./make.bash -distpack // mkdir -p /tmp/goproxy/golang.org/toolchain/ // ln -sf $(pwd)/../pkg/distpack /tmp/goproxy/golang.org/toolchain/@v // GOPROXY=file:///tmp/goproxy GOTOOLCHAIN=$(sed 1q ../VERSION) gotip version // // gotip can be replaced with an older released Go version once there is one. // It just can't be the one make.bash built, because it knows it is already that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 10.9K bytes - Viewed (0) -
src/cmd/go/internal/envcmd/env.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.6K bytes - Viewed (0) -
build/common.sh
--env "KUBE_STATIC_OVERRIDES=' ${KUBE_STATIC_OVERRIDES[*]:-} '" --env "FORCE_HOST_GO=${FORCE_HOST_GO:-}" --env "GO_VERSION=${GO_VERSION:-}" --env "GOTOOLCHAIN=${GOTOOLCHAIN:-}" --env "GOFLAGS=${GOFLAGS:-}" --env "GOGCFLAGS=${GOGCFLAGS:-}" --env "SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH:-}" ) # use GOLDFLAGS only if it is set explicitly.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:13:15 UTC 2024 - 26.5K bytes - Viewed (0) -
src/cmd/go/script_test.go
"GOSUMDB=" + testSumDBVerifierKey, "GONOPROXY=", "GONOSUMDB=", "GOVCS=*:all", "devnull=" + os.DevNull, "goversion=" + gover.Local(), "CMDGO_TEST_RUN_MAIN=true", "HGRCPATH=", "GOTOOLCHAIN=auto", "newline=\n", } if testenv.Builder() != "" || os.Getenv("GIT_TRACE_CURL") == "1" { // To help diagnose https://go.dev/issue/52545, // enable tracing for Git HTTPS requests. env = append(env,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/go/internal/help/helpdoc.go
GOROOT The root of the go tree. GOSUMDB The name of checksum database to use and optionally its public key and URL. See https://golang.org/ref/mod#authenticating. GOTOOLCHAIN Controls which Go toolchain is used. See https://go.dev/doc/toolchain. GOTMPDIR The directory where the go command will write temporary source files, packages, and binaries. GOVCS
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 36.3K bytes - Viewed (0)