Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FromToolchain (0.16 sec)

  1. src/cmd/go/internal/toolchain/select.go

    		mode = "auto"
    	} else if gotoolchain == "path" {
    		mode = "path"
    	} else {
    		min, suffix, plus := strings.Cut(gotoolchain, "+") // go1.2.3+auto
    		if min != "local" {
    			v := gover.FromToolchain(min)
    			if v == "" {
    				if plus {
    					base.Fatalf("invalid GOTOOLCHAIN %q: invalid minimum toolchain %q", gotoolchain, min)
    				}
    				base.Fatalf("invalid GOTOOLCHAIN %q", gotoolchain)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/edit.go

    	rootPruning := orig.pruning
    	for _, m := range mustSelect {
    		if m.Path == "go" {
    			rootPruning = pruningForGoVersion(m.Version)
    			break
    		} else if m.Path == "toolchain" && pruningForGoVersion(gover.FromToolchain(m.Version)) == unpruned {
    			// We don't know exactly what go version we will end up at, but we know
    			// that it must be a version supported by the requested toolchain, and
    			// that toolchain does not support pruning.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top