- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,020 for gotoolchain (0.34 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/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/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/internal/toolchain/exec.go
//go:build !js && !wasip1 package toolchain import ( "cmd/go/internal/base" "internal/godebug" "os" "os/exec" "runtime" "syscall" ) // execGoToolchain execs the Go toolchain with the given name (gotoolchain), // GOROOT directory, and go command executable. // The GOROOT directory is empty if we are invoking a command named // gotoolchain found in $PATH.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 14:42:39 UTC 2023 - 1.6K 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) -
src/cmd/go/testdata/script/mod_get_future.txt
env TESTGO_VERSION=go1.21 env GOTOOLCHAIN=local ! go mod download rsc.io/future@v1.0.0 stderr '^go: rsc.io/future@v1.0.0 requires go >= 1.999 \(running go 1.21; GOTOOLCHAIN=local\)$' -- go.mod -- module m go 1.21 -- x.go -- package p
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 03 19:58:00 UTC 2023 - 264 bytes - Viewed (0)