Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for GOTMPDIR (0.15 sec)

  1. src/cmd/go/testdata/script/env_write.txt

    # go env -w rejects invalid GOTMPDIR values
    ! go env -w GOTMPDIR=x
    stderr 'go: GOTMPDIR must be an absolute path'
    
    # go env -w should accept absolute GOTMPDIR value
    # and should not create it
    [GOOS:windows] go env -w GOTMPDIR=$WORK\x\y\z
    [!GOOS:windows] go env -w GOTMPDIR=$WORK/x/y/z
    ! exists $WORK/x/y/z
    # we should be able to clear an env
    go env -u GOTMPDIR
    go env GOTMPDIR
    stdout ^$
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/internal/cfg/cfg.go

    	GOGCCFLAGS
    	GOHOSTARCH
    	GOHOSTOS
    	GOINSECURE
    	GOMIPS
    	GOMIPS64
    	GOMODCACHE
    	GONOPROXY
    	GONOSUMDB
    	GOOS
    	GOPATH
    	GOPPC64
    	GOPRIVATE
    	GOPROXY
    	GORISCV64
    	GOROOT
    	GOSUMDB
    	GOTMPDIR
    	GOTOOLCHAIN
    	GOTOOLDIR
    	GOVCS
    	GOWASM
    	GOWORK
    	GO_EXTLINK_ENABLED
    	PKG_CONFIG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 01:33:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/envcmd/env.go

    		{Name: "GOPROXY", Value: cfg.GOPROXY, Changed: cfg.GOPROXYChanged},
    		{Name: "GOROOT", Value: cfg.GOROOT},
    		{Name: "GOSUMDB", Value: cfg.GOSUMDB, Changed: cfg.GOSUMDBChanged},
    		{Name: "GOTMPDIR", Value: cfg.Getenv("GOTMPDIR")},
    		{Name: "GOTOOLCHAIN"},
    		{Name: "GOTOOLDIR", Value: build.ToolDir},
    		{Name: "GOVCS", Value: cfg.GOVCS},
    		{Name: "GOVERSION", Value: runtime.Version()},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. src/cmd/dist/build.go

    	xprintf(format, "GOHOSTOS", gohostos)
    	xprintf(format, "GOOS", goos)
    	xprintf(format, "GOPROXY", os.Getenv("GOPROXY"))
    	xprintf(format, "GOROOT", goroot)
    	xprintf(format, "GOTMPDIR", os.Getenv("GOTMPDIR"))
    	xprintf(format, "GOTOOLDIR", tooldir)
    	if goarch == "arm" {
    		xprintf(format, "GOARM", goarm)
    	}
    	if goarch == "arm64" {
    		xprintf(format, "GOARM64", goarm64)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/action.go

    		b.WorkDir = workDir
    	} else if cfg.BuildN {
    		b.WorkDir = "$WORK"
    	} else {
    		if !buildInitStarted {
    			panic("internal error: NewBuilder called before BuildInit")
    		}
    		tmp, err := os.MkdirTemp(cfg.Getenv("GOTMPDIR"), "go-build")
    		if err != nil {
    			base.Fatalf("go: creating work dir: %v", err)
    		}
    		if !filepath.IsAbs(tmp) {
    			abs, err := filepath.Abs(tmp)
    			if err != nil {
    				os.RemoveAll(tmp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/help/helpdoc.go

    		The name of checksum database to use and optionally its public key and
    		URL. See https://golang.org/ref/mod#authenticating.
    	GOTOOLCHAIN
    		Controls which Go toolchain is used. See https://go.dev/doc/toolchain.
    	GOTMPDIR
    		The directory where the go command will write
    		temporary source files, packages, and binaries.
    	GOVCS
    		Lists version control commands that may be used with matching servers.
    		See 'go help vcs'.
    	GOWORK
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. src/cmd/go/alldocs.go

    //		The name of checksum database to use and optionally its public key and
    //		URL. See https://golang.org/ref/mod#authenticating.
    //	GOTOOLCHAIN
    //		Controls which Go toolchain is used. See https://go.dev/doc/toolchain.
    //	GOTMPDIR
    //		The directory where the go command will write
    //		temporary source files, packages, and binaries.
    //	GOVCS
    //		Lists version control commands that may be used with matching servers.
    //		See 'go help vcs'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top