- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for goEnv (0.09 sec)
-
src/cmd/go/testdata/script/env_unset.txt
# Test that we can unset variables, even if initially invalid, # as long as resulting config is valid. env GOENV=badenv env GOOS= env GOARCH= env GOEXPERIMENT= ! go env stderr '^go(\.exe)?: unknown GOEXPERIMENT badexp$' go env -u GOEXPERIMENT ! go env stderr '^go: unsupported GOOS/GOARCH pair bados/badarch$' ! go env -u GOOS stderr '^go: unsupported GOOS/GOARCH pair \w+/badarch$' ! go env -u GOARCH
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 15 00:06:54 UTC 2021 - 553 bytes - Viewed (0) -
src/internal/cfg/cfg.go
CGO_FFLAGS_DISALLOW CGO_LDFLAGS CGO_LDFLAGS_ALLOW CGO_LDFLAGS_DISALLOW CXX FC GCCGO GO111MODULE GO386 GOAMD64 GOARCH GOARM GOARM64 GOBIN GOCACHE GOCACHEPROG GOENV GOEXE GOEXPERIMENT GOFLAGS GOGCCFLAGS GOHOSTARCH GOHOSTOS GOINSECURE GOMIPS GOMIPS64 GOMODCACHE GONOPROXY GONOSUMDB GOOS GOPATH GOPPC64 GOPRIVATE GOPROXY
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 01:33:19 UTC 2024 - 1.2K bytes - Viewed (0) -
src/run.bat
if...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 17 20:19:28 UTC 2022 - 859 bytes - Viewed (0) -
src/runtime/signal_windows_test.go
testenv.MustHaveCGO(t) goEnv := func(arg string) string { cmd := testenv.Command(t, testenv.GoToolPath(t), "env", arg) cmd.Stderr = new(bytes.Buffer) line, err := cmd.Output() if err != nil { t.Fatalf("%v: %v\n%s", cmd, err, cmd.Stderr) } out := string(bytes.TrimSpace(line)) t.Logf("%v: %q", cmd, out) return out } cc := goEnv("CC") cgoCflags := goEnv("CGO_CFLAGS")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 08:26:52 UTC 2023 - 9K bytes - Viewed (0) -
src/run.bash
# Defaults to 1. set -e if [ ! -f ../bin/go ]; then echo 'run.bash must be run from $GOROOT/src after installing cmd/go' 1>&2 exit 1 fi export GOENV=off eval $(../bin/go tool dist env) unset CDPATH # in case user has it set export GOHOSTOS export CC # no core files, please ulimit -c 0 # Raise soft limits to hard limits for NetBSD/OpenBSD.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:02:23 UTC 2024 - 1.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_path_space_quote.txt
# argument contains these characters, the entire argument may be quoted # with single or double quotes. This is the same as -gcflags and similar # options. [short] skip [!exec:clang] [!exec:gcc] skip [!cgo] skip env GOENV=$WORK/go.env mkdir 'program files' go build -o 'program files' './which cc/which cc.go' [exec:clang] env CC='"'$PWD${/}program' 'files${/}which' 'cc"' 'clang [!exec:clang] env CC='"'$PWD${/}program' 'files${/}which' 'cc"' 'gcc
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 16 20:23:26 UTC 2021 - 1.2K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/00-bug.yml
label: "Output of `go env` in your module/workspace:" placeholder: | GO111MODULE="" GOARCH="arm64" GOBIN="/Users/gopher/go/bin" GOCACHE="/Users/gopher/go/cache" GOENV="/Users/gopher/Library/Application Support/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="arm64" GOHOSTOS="darwin" GOINSECURE=""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 04 23:31:17 UTC 2024 - 3.3K bytes - Viewed (0) -
src/make.rc
# Determine the host compiler toolchain. eval `{grep '^(CC|LD|O)=' /$objtype/mkfile} vflag=() if(~ $1 -v) { vflag=(-v) shift } fn bootstrapenv { GOROOT=$GOROOT_BOOTSTRAP GO111MODULE=off GOENV=off GOOS=() GOARCH=() GOEXPERIMENT=() GOFLAGS=() $* } bootgo = 1.20.6 GOROOT = `{cd .. && pwd} goroot_bootstrap_set = 'true' if(! ~ $#GOROOT_BOOTSTRAP 1){ goroot_bootstrap_set = 'false'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:48:46 UTC 2024 - 3.7K bytes - Viewed (0) -
src/make.bat
in three different shell languages L162::: (make.bash, make.bat, make.rc). L163: L164::copydist L165:mkdir "%GOTOOLDIR%" 2>NUL L166:copy cmd\dist\dist.exe "%GOTOOLDIR%\" L167:goto :eof L168: L169::nogoenv L170:set GO111MODULE=off L171:set GOENV=off L172:set GOOS= L173:set GOARCH= L174:set GOEXPERIMENT= L175:set GOFLAGS= L176:goto :eof L177: L178::bootstrapfail L179:echo ERROR: Cannot find %GOROOT_BOOTSTRAP%\bin\go.exe L180:echo Set GOROOT_BOOTSTRAP to a working Go tree ^>= Go %bootgo%. ...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 6.2K bytes - Viewed (0) -
src/make.bash
for d in sdk/go$bootgo go$bootgo; do if [[ -d "$HOME/$d" ]]; then GOROOT_BOOTSTRAP="$HOME/$d" fi done fi export GOROOT_BOOTSTRAP bootstrapenv() { GOROOT="$GOROOT_BOOTSTRAP" GO111MODULE=off GOENV=off GOOS= GOARCH= GOEXPERIMENT= GOFLAGS= "$@" } export GOROOT="$(cd .. && pwd)" IFS=$'\n'; for go_exe in $(type -ap go); do if [[ ! -x "$GOROOT_BOOTSTRAP/bin/go" ]]; then goroot_bootstrap=$GOROOT_BOOTSTRAP
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:48:46 UTC 2024 - 7.6K bytes - Viewed (0)