- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for GOTOOLCHAIN (0.31 sec)
-
src/cmd/go/internal/gover/toolchain.go
GoVersion string Toolchain string // for callers if they want to use it, but not printed } func (e *TooNewError) Error() string { 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))
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/mod_import_toolchain.txt
env GOTOOLCHAIN=auto go get -v . cmp stderr get-v-stderr.want cmp go.mod go.mod.tidy cp go.mod.orig go.mod env GOTOOLCHAIN=local ! go get -u -v . stderr '^go: example.net/a@v0.2.0: module ./a2 requires go >= 1.22.0 \(running go 1.21.0; GOTOOLCHAIN=local\)$' env GOTOOLCHAIN=auto go get -u -v . cmp stderr get-u-v-stderr.want cmp go.mod go.mod.upgraded -- tidy-stderr.want --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 4.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/work_sync_toolchain.txt
grep '^go 1.21$' go.work ! grep toolchain go.work env GOTOOLCHAIN=local ! go work sync stderr '^go: cannot load module m1_22_0 listed in go.work file: m1_22_0'${/}'go.mod requires go >= 1.22.0 \(running go 1.21; GOTOOLCHAIN=local\)$' stderr '^go: cannot load module m1_22_1 listed in go.work file: m1_22_1'${/}'go.mod requires go >= 1.22.1 \(running go 1.21; GOTOOLCHAIN=local\)$' env GOTOOLCHAIN=auto go work sync
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 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) -
src/cmd/go/testdata/script/mod_toolchain.txt
! stderr toolchain # already gone, was not added grep 'go 1.22.1' go.mod ! grep toolchain go.mod env TESTGO_VERSION=go1.22.1 env GOTOOLCHAIN=local ! go get go@1.22.3 stderr 'go: updating go.mod requires go >= 1.22.3 \(running go 1.22.1; GOTOOLCHAIN=local\)$' env TESTGO_VERSION=go1.30 go get toolchain@1.22.3 grep 'toolchain go1.22.3' go.mod go get go@1.22.1 grep 'go 1.22.1' go.mod go get m2@v1.0.0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 02 22:42:42 UTC 2023 - 1.9K bytes - Viewed (0) -
go.env
GOPROXY=https://proxy.golang.org,direct GOSUMDB=sum.golang.org # Automatically download newer toolchains as directed by go.mod files. # See https://go.dev/doc/toolchain for details.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 19:18:46 UTC 2023 - 505 bytes - Viewed (0) -
src/cmd/go/internal/toolchain/exec_stub.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build js || wasip1 package toolchain import "cmd/go/internal/base" func execGoToolchain(gotoolchain, dir, exe string) { base.Fatalf("execGoToolchain unsupported")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 30 19:11:44 UTC 2023 - 334 bytes - Viewed (0) -
src/cmd/go/testdata/script/install_dep_version.txt
# with --mod=readonly moduleInfo was not setting the GoVersion for the module # because the checksumOk function was failing because modfetch.GoSumFile # was not set when running outside of a module. env GOTOOLCHAIN=local
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 16:36:17 UTC 2023 - 364 bytes - Viewed (0) -
src/cmd/go/testdata/script/work_edit_toolchain.txt
# Test support for go work edit -toolchain to set toolchain to use env GOTOOLCHAIN=local env GO111MODULE=on ! grep toolchain go.work go work edit -toolchain=go1.9 grep 'toolchain go1.9' go.work go work edit -toolchain=default grep 'toolchain default' go.work go work edit -toolchain=none ! grep toolchain go.work -- go.work -- go 1.8 use . -- go.mod --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 19:18:46 UTC 2023 - 367 bytes - Viewed (0)