- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 152 for Gcflags (0.28 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/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/internal/load/flag_test.go
{path: "net", flags: []string{}}, }, }, // -gcflags=net/...=-S net math // applies -S to net and net/http but not math { args: []string{"net/...=-S"}, pkgs: []ppfTestPackage{ {path: "net", flags: []string{"-S"}}, {path: "net/http", flags: []string{"-S"}}, {path: "math", flags: []string{}}, }, }, // -gcflags=net/...=-S -gcflags=-m net math
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 15:04:04 UTC 2017 - 3.9K 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/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) -
src/cmd/go/testdata/script/list_compiler_output.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 21 19:37:23 UTC 2022 - 233 bytes - Viewed (0) -
src/cmd/go/testdata/script/build_runtime_gcflags.txt
[short] skip # rebuilds all of std # Set up fresh GOCACHE. env GOCACHE=$WORK/gocache mkdir $GOCACHE # Verify the standard library (specifically internal/runtime/atomic) can be # built with -gcflags when -n is given. See golang.org/issue/29346. go build -n -gcflags=all='-l' std
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 00:18:30 UTC 2024 - 349 bytes - Viewed (0) -
src/cmd/go/testdata/script/build_gcflags.txt
env GO111MODULE=off # Test that the user can override default code generation flags. [compiler:gccgo] skip # gccgo does not use -gcflags [!cgo] skip [!GOOS:linux] skip # test only works if c-archive implies -shared [short] skip env GOCACHE=$WORK/gocache # Looking for compile commands, so need a clean cache. go build -x -n -buildmode=c-archive -gcflags=all=-shared=false ./override.go stderr '^.*/compile (.* )?-shared (.* )?-shared=false'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 541 bytes - Viewed (0) -
src/cmd/go/internal/load/flag.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 20:20:43 UTC 2022 - 2.6K bytes - Viewed (0)