Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GOTMPDIR (1.35 sec)

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

    env GO111MODULE=off
    
    # If GOTMPDIR is relative, 'go build' should derive an absolute $WORK directory.
    cd $WORK
    mkdir tmp
    env GOTMPDIR=tmp
    go build -work a
    stderr 'WORK='$WORK
    
    # Similarly if TMP/TMPDIR is relative.
    env GOTMPDIR=
    env TMP=tmp    # Windows
    env TMPDIR=tmp # Unix
    go build -work a
    stderr 'WORK='$WORK
    
    -- a/a.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:16 UTC 2022
    - 337 bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/go/testdata/script/build_GOTMPDIR.txt

    [!GOOS:windows] env GOCACHE=$WORK/gocache
    [GOOS:windows] env GOCACHE=$WORK\gocache
    
    # 'go build' should use GOTMPDIR if set.
    [!GOOS:windows] env GOTMPDIR=$WORK/my-favorite-tmpdir
    [GOOS:windows] env GOTMPDIR=$WORK\my-favorite-tmpdir
    mkdir $GOTMPDIR
    go build -x hello.go
    stderr ^WORK=.*my-favorite-tmpdir
    
    # Make GOTMPDIR a regular file. This prevents the creation of work directories,
    # so we can check that certain commands don't create them.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. 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)
  5. .github/ISSUE_TEMPLATE/00-bug.yml

            GOOS="darwin"
            GOPATH="/Users/gopher/go"
            GOPRIVATE=""
            GOPROXY="https://proxy.golang.org,direct"
            GOROOT="/usr/local/go"
            GOSUMDB="sum.golang.org"
            GOTMPDIR=""
            GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
            GOVCS=""
            GOVERSION="go1.20.7"
            GCCGO="gccgo"
            AR="ar"
            CC="clang"
            CXX="clang++"
            CGO_ENABLED="1"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top