Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for goSpin (0.08 sec)

  1. src/cmd/dist/build.go

    	os.Setenv("GORISCV64", goriscv64)
    	os.Setenv("GOROOT", goroot)
    
    	// Set GOBIN to GOROOT/bin. The meaning of GOBIN has drifted over time
    	// (see https://go.dev/issue/3269, https://go.dev/cl/183058,
    	// https://go.dev/issue/31576). Since we want binaries installed by 'dist' to
    	// always go to GOROOT/bin anyway.
    	os.Setenv("GOBIN", gorootBin)
    
    	// Make the environment more predictable.
    	os.Setenv("LANG", "C")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/init.go

    	Init()
    	modFile := MainModules.ModFile(MainModules.mustGetSingleMainModule())
    	if modFile == nil {
    		die()
    	}
    	return modFile
    }
    
    func BinDir() string {
    	Init()
    	if cfg.GOBIN != "" {
    		return cfg.GOBIN
    	}
    	if gopath == "" {
    		return ""
    	}
    	return filepath.Join(gopath, "bin")
    }
    
    // InitWorkfile initializes the workFilePath variable for commands that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  3. src/cmd/go/go_test.go

    		os.Setenv("GODEBUG", os.Getenv("GODEBUG")+reducedLimit)
    	}
    
    	// Don't let these environment variables confuse the test.
    	os.Setenv("GOENV", "off")
    	os.Unsetenv("GOFLAGS")
    	os.Unsetenv("GOBIN")
    	os.Unsetenv("GOPATH")
    	os.Unsetenv("GIT_ALLOW_PROTOCOL")
    	os.Setenv("HOME", "/test-go-home-does-not-exist")
    	// On some systems the default C compiler is ccache.
    	// Setting HOME to a non-existent directory will break
    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