- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,258 for gotoolchain (0.3 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/testdata/script/gotoolchain_local.txt
env GOTOOLCHAIN=path go version stdout go1.500 # GOTOOLCHAIN=asdf is a syntax error env GOTOOLCHAIN=asdf ! go version stderr '^go: invalid GOTOOLCHAIN "asdf"$' # GOTOOLCHAIN=version is used directly. env GOTOOLCHAIN=go1.600 go version stdout go1.600 env GOTOOLCHAIN=go1.400 go version stdout go1.400 # GOTOOLCHAIN=version+auto sets a minimum. env GOTOOLCHAIN=go1.600+auto
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 25 21:19:11 UTC 2023 - 7.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/gotoolchain_net.txt
# GOTOOLCHAIN from network [!exec:/bin/sh] stop 'the fake proxy serves shell scripts instead of binaries' env GOTOOLCHAIN=go1.999testmod go version stderr 'go: downloading go1.999testmod \(.*/.*\)' # GOTOOLCHAIN cached from network go version ! stderr downloading stdout go1.999testmod # GOTOOLCHAIN with GOSUMDB enabled but at a bad URL should operate in cache and not try badurl env oldsumdb=$GOSUMDB
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 17:16:47 UTC 2023 - 2.2K 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/internal/gover/toolchain.go
var explain string if Startup.GOTOOLCHAIN != "" && Startup.GOTOOLCHAIN != "auto" { explain = "; GOTOOLCHAIN=" + Startup.GOTOOLCHAIN } if Startup.AutoFile != "" && (Startup.AutoGoVersion != "" || Startup.AutoToolchain != "") { explain += fmt.Sprintf("; %s sets ", base.ShortPath(Startup.AutoFile)) if Startup.AutoToolchain != "" { explain += "toolchain " + Startup.AutoToolchain } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 23:20:32 UTC 2023 - 3K bytes - Viewed (0) -
src/cmd/go/testdata/script/gotoolchain_path.txt
! grep toolchain go.mod env GOTOOLCHAIN=path ! go version stderr 'running go1.50.0 from PATH' # GOTOOLCHAIN=auto with toolchain line env GOTOOLCHAIN=local go mod edit -toolchain=go1.50.0 -go=1.21 grep 'go 1.21$' go.mod grep 'toolchain go1.50.0' go.mod env GOTOOLCHAIN=auto ! go version stderr 'running go1.50.0 from PATH' # GOTOOLCHAIN=auto with go line env GOTOOLCHAIN=local go mod edit -toolchain=none -go=1.50.0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 06 22:21:42 UTC 2024 - 1.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_get_exec_toolchain.txt
env TESTGO_VERSION_SWITCH=switch # GOTOOLCHAIN=auto should run the newer toolchain env GOTOOLCHAIN=auto cp go.mod.new go.mod go get rsc.io/needgo121 rsc.io/needgo122 rsc.io/needgo123 rsc.io/needall stderr '^go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9$' ! stderr '\(running' stderr '^go: added rsc.io/needall v0.0.1' grep 'go 1.23' go.mod grep 'toolchain go1.23.9' go.mod # GOTOOLCHAIN=min+auto should run the newer toolchain
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 19:23:42 UTC 2023 - 4.8K 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/testdata/script/mod_download_exec_toolchain.txt
! stderr '\(running' # GOTOOLCHAIN=min+auto should run the newer toolchain env GOTOOLCHAIN=go1.21+auto go mod download rsc.io/needgo121@latest rsc.io/needgo122@latest rsc.io/needgo123@latest rsc.io/needall@latest stderr '^go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9$' ! stderr '\(running' # GOTOOLCHAIN=go1.21 should NOT run the newer toolchain env GOTOOLCHAIN=go1.21
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 19:32:39 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/work_use_toolchain.txt
grep '^go 1.50$' go.work ! grep toolchain go.work # work use with newer modules should bump go and toolchain, # including updating to a newer toolchain as needed. env TESTGO_VERSION=go1.21 env TESTGO_VERSION_SWITCH=switch rm go.work go work init env GOTOOLCHAIN=local ! go work use ./m1_22_0 stderr '^go: m1_22_0'${/}'go.mod requires go >= 1.22.0 \(running go 1.21; GOTOOLCHAIN=local\)$' env GOTOOLCHAIN=auto go work use ./m1_22_0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 1.6K bytes - Viewed (0)