- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for LocalToolchain (0.15 sec)
-
src/cmd/go/internal/gover/local.go
var TestVersion string // Local returns the local Go version, the one implemented by this go command. func Local() string { v, _ := local() return v } // LocalToolchain returns the local toolchain name, the one implemented by this go command. func LocalToolchain() string { _, t := local() return t } func local() (goVers, toolVers string) { toolVers = runtime.Version() if TestVersion != "" { toolVers = TestVersion
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 31 15:20:23 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/go/internal/toolchain/select.go
// so that we have initialized gover.Startup for use in error messages. if target := os.Getenv(targetEnv); target != "" && TestVersionSwitch != "loop" { if gover.LocalToolchain() != target { base.Fatalf("toolchain %v invoked to provide %v", gover.LocalToolchain(), target) } os.Unsetenv(targetEnv) // Note: It is tempting to check that if gotoolchain != "local" // then target == gotoolchain here, as a sanity check that
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/modload/init.go
mainModule, {Path: "go", Version: goVersion}, {Path: "toolchain", Version: gover.LocalToolchain()}, } } else { goVersion = gover.Local() pruning = pruningForGoVersion(goVersion) roots = []module.Version{ {Path: "go", Version: goVersion}, {Path: "toolchain", Version: gover.LocalToolchain()}, } } rawGoVersion.Store(mainModule, goVersion)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0)