Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toRoots (0.14 sec)

  1. src/cmd/go/internal/modload/init.go

    				// modules, the packages in the "std" module have no import-path prefix.
    				//
    				// Modules named "std" outside of GOROOT/src do not receive this special
    				// treatment, so it is possible to run 'go test .' in other GOROOTs to
    				// test individual packages using a combination of the modified package
    				// and the ordinary standard library.
    				// (See https://golang.org/issue/30756.)
    				mainModules.pathPrefix[m] = ""
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  2. src/cmd/go/go_test.go

    			work.ToolchainVersion = v
    		}
    
    		if testGOROOT := os.Getenv("TESTGO_GOROOT"); testGOROOT != "" {
    			// Disallow installs to the GOROOT from which testgo was built.
    			// Installs to other GOROOTs — such as one set explicitly within a test — are ok.
    			work.AllowInstall = func(a *work.Action) error {
    				if cfg.BuildN {
    					return nil
    				}
    
    				rel := search.InDir(a.Target, testGOROOT)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top