- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 272 for pcflags (0.12 sec)
-
src/cmd/go/testdata/script/gcflags_patterns.txt
[!compiler:gc] skip 'using -gcflags and -ldflags' [short] skip # -gcflags=-e applies to named packages, not dependencies go build -a -n -v -gcflags=-e z1 z2 stderr 'compile.* -p z1.* -e ' stderr 'compile.* -p z2.* -e ' stderr 'compile.* -p y' ! stderr 'compile.* -p [^z].* -e ' # -gcflags can specify package=flags, and can be repeated; last match wins go build -a -n -v -gcflags=-e -gcflags=z1=-N z1 z2 stderr 'compile.* -p z1.* -N '
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 21 14:58:44 UTC 2023 - 2.5K bytes - Viewed (0) -
src/runtime/cpuflags.go
Martin Möhrmann <******@****.***> 1629711291 +0200
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 23 21:22:58 UTC 2021 - 810 bytes - Viewed (0) -
src/cmd/go/internal/base/goflags.go
"cmd/internal/quoted" ) var goflags []string // cached $GOFLAGS list; can be -x or --x form // GOFLAGS returns the flags from $GOFLAGS. // The list can be assumed to contain one string per flag, // with each string either beginning with -name or --name. func GOFLAGS() []string { InitGOFLAGS() return goflags } // InitGOFLAGS initializes the goflags list from $GOFLAGS.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 14:42:39 UTC 2023 - 4.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/goflags.txt
env GOFLAGS=-f ! go list runtime stderr '^go: flag needs an argument: -f \(from (\$GOFLAGS|%GOFLAGS%)\)$' env GOFLAGS=-e=asdf ! go list runtime stderr '^go: invalid boolean value \"asdf\" for flag -e \(from (\$GOFLAGS|%GOFLAGS%)\)' # except in go bug (untested) and go env go env stdout GOFLAGS # Flags listed in GOFLAGS should be safe to duplicate on the command line. env GOFLAGS=-tags=magic
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 16:47:27 UTC 2022 - 1.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_cache_output.txt
go build -x -gcflags=-m -ldflags='-v -w' main.go ! stderr 'compile( |\.exe"?)' stderr 'main.go:2.* can inline main' # from compiler ! stderr 'link(\.exe"?)? -' stderr '\d+ symbols' # from linker # Running a test should run the compiler, linker, and the test the first time. go test -v -x -gcflags=-m -ldflags=-v p stderr 'compile( |\.exe"?)'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_bad_directives.txt
# Reject #cgo CFLAGS: -D @foo cp y_cflags_dash_d_space_at_foo.txt y.go ! go build x stderr 'invalid flag in #cgo CFLAGS: -D @foo' # Reject #cgo CFLAGS -D@foo cp y_cflags_dash_d_at_foo.txt y.go ! go build x stderr 'invalid flag in #cgo CFLAGS: -D@foo' # Check for CFLAGS in commands env CGO_CFLAGS=-D@foo cp y_no_cflags.txt y.go go build -n x stderr '-D@foo' -- go.mod --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2.8K bytes - Viewed (0) -
common/scripts/gobuild.sh
fi time GOOS=${BUILD_GOOS} GOARCH=${BUILD_GOARCH} ${GOBINARY} build \ ${V} "${GOBUILDFLAGS_ARRAY[@]}" ${GCFLAGS:+-gcflags "${GCFLAGS}"} \ -o "${OUT}" \ "${OPTIMIZATION_FLAGS[@]}" \ -pkgdir="${GOPKG}/${BUILD_GOOS}_${BUILD_GOARCH}" \
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Oct 21 14:08:46 UTC 2022 - 2.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_gcflags_order.txt
# Tests golang.org/issue/47682 # Flags specified with -gcflags should appear after other flags generated by cmd/go. cd m go build -n -gcflags=-lang=go1.17 stderr ' -lang=go1.16.* -lang=go1.17' ! go build -gcflags='-c 0' stderr 'compile: -c must be at least 1, got 0' -- m/go.mod -- module example.com go 1.16 -- m/main.go -- package main func main() { var s = []int{1, 2, 3} var pa = (*[2]int)(s[1:])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 07 22:22:37 UTC 2023 - 435 bytes - Viewed (0) -
src/cmd/go/internal/envcmd/env.go
defer func() { if err := b.Close(); err != nil { base.Fatal(err) } }() cppflags, cflags, cxxflags, fflags, ldflags, err := b.CFlags(&load.Package{}) if err != nil { // Should not happen - b.CFlags was given an empty package. fmt.Fprintf(os.Stderr, "go: invalid cflags: %v\n", err) return nil } cmd := b.GccCmd(".", "") join := func(s []string) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_cache_gomips.txt
env GOARCH=mipsle env GOOS=linux go build -gcflags=-S f.go stderr ADDD.F[0-9]+,.F[0-9]+,.F[0-9]+ # Clean cache go clean -cache # Building with GOMIPS=softfloat will not use floating point registers env GOMIPS=softfloat go build -gcflags=-S f.go ! stderr ADDD.F[0-9]+,.F[0-9]+,.F[0-9]+ # Clean cache go clean -cache # Build without setting GOMIPS env GOMIPS= go build -gcflags=-S f.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 03:25:01 UTC 2019 - 859 bytes - Viewed (0)