- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 165 for goGcflags (0.2 sec)
-
src/cmd/cgo/internal/testerrors/testdata/issue14669.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 14669: test that fails when build with CGO_CFLAGS selecting // optimization. package p /* const int E = 1; typedef struct s { int c; } s; */ import "C" func F() { _ = C.s{ c: C.E, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 368 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_ppc64le_cgo_inline_plt.txt
# # Verifies golang.org/issue/53345 # # Note, older gcc/clang may accept this option, but # ignore it if binutils does not support the relocs. [!compiler:gc] skip [!cgo] skip [!GOARCH:ppc64le] skip env CGO_CFLAGS='-fno-plt -O2 -g' go build -ldflags='-linkmode=internal' exec ./noplttest stdout helloworld -- go.mod -- module noplttest -- noplttest.go -- package main /* #include <stdio.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 719 bytes - Viewed (0) -
src/cmd/go/testdata/script/version.txt
go version empty.so stderr 'could not read Go build info' go version empty.dll stderr 'could not read Go build info' # Neither of the two flags above should be an issue via GOFLAGS. env GOFLAGS='-m -v' go version stdout '^go version' env GOFLAGS= env GO111MODULE=on # Check that very basic version lookup succeeds. go build empty.go go version empty$GOEXE [cgo] go build -ldflags=-linkmode=external empty.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 14:52:04 UTC 2024 - 2.3K bytes - Viewed (0) -
test/fixedbugs/issue10958.go
// buildrun -t 10 -gcflags=-d=ssa/insert_resched_checks/on,ssa/check/on //go:build !nacl && !js && disabled_see_issue_18589 // Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test is disabled because it flakes when run in all.bash // on some platforms, but is useful standalone to verify // that rescheduling checks are working (and we may wish
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.9K bytes - Viewed (0) -
hack/pin-dependency.sh
kube::log::error "Cannot run with \$GOPROXY=off" exit 1 fi kube::golang::setup_env kube::util::require-jq # Explicitly set GOFLAGS to ignore vendor, since GOFLAGS=-mod=vendor breaks dependency resolution while rebuilding vendor export GOWORK=off export GOFLAGS=-mod=mod dep="${1:-}" sha="${2:-}" # Specifying a different repo is optional. replacement= case ${dep} in *=*)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 05:44:43 UTC 2024 - 3.6K bytes - Viewed (0) -
test/fixedbugs/issue34968.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 289 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug_lines_test.go
// testDebugLinesDefault removes the first wanted statement on architectures that are not (yet) register ABI. func testDebugLinesDefault(t *testing.T, gcflags, file, function string, wantStmts []int, ignoreRepeats bool) { unixOnly(t) if !hasRegisterABI() { wantStmts = wantStmts[1:] } testDebugLines(t, gcflags, file, function, wantStmts, ignoreRepeats) } func TestDebugLinesSayHi(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:24:52 UTC 2023 - 8.4K bytes - Viewed (0) -
src/cmd/go/go_test.go
tg.run("env", "CGO_CFLAGS") tg.grepStdout(".", "default CGO_CFLAGS unexpectedly empty") tg.setenv("CGO_CFLAGS", "-foobar") tg.run("env", "CGO_CFLAGS") tg.grepStdout("^-foobar$", "CGO_CFLAGS not honored") tg.setenv("CC", "gcc -fmust -fgo -ffaster") tg.run("env", "CC") tg.grepStdout("gcc", "CC not found") tg.run("env", "GOGCCFLAGS")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/install_modcacherw_issue64282.txt
[!short] cp $WORK/extraneous.txt $GOPATH/pkg/mod/example.com/printversion@v0.1.0/extraneous_file.go [!short] go clean -modcache # The flag should also be applied if given in GOFLAGS # instead of on the command line. env GOFLAGS=-modcacherw ! go install -cake=delicious example.com/printversion@v0.1.0 stderr '^flag provided but not defined: -cake$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 29 17:53:43 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/go/internal/vet/vetflag.go
// This flag has been overridden explicitly, so don't forward its implicit // value from GOFLAGS. delete(addFromGOFLAGS, f.Name) } args = remainingArgs } // Prepend arguments from GOFLAGS before other arguments. CmdVet.Flag.Visit(func(f *flag.Flag) { if addFromGOFLAGS[f.Name] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 14:42:39 UTC 2023 - 5.1K bytes - Viewed (0)