- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 148 for goGcflags (0.15 sec)
-
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) -
test/fixedbugs/issue46938.go
// run -gcflags="-d=checkptr" // Copyright 2021 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. package main import ( "strings" "unsafe" ) func main() { defer func() { err := recover() if err == nil { panic("expected panic") } if got := err.(error).Error(); !strings.Contains(got, "slice bounds out of range") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 25 01:57:42 UTC 2021 - 584 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_doc.txt
# go doc should find module documentation env GO111MODULE=on env GOFLAGS=-mod=mod [short] skip # Check when module x is inside GOPATH/src. go doc y stdout 'Package y is.*alphabet' stdout 'import "x/y"' go doc x/y stdout 'Package y is.*alphabet' ! go doc quote.Hello stderr 'doc: symbol quote is not a type' # because quote is not in local cache go list rsc.io/quote # now it is go doc quote.Hello stdout 'Hello returns a greeting'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 28 18:50:20 UTC 2023 - 2.7K bytes - Viewed (0) -
test/fixedbugs/issue35073a.go
// run -gcflags=-d=checkptr // Copyright 2020 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 that reflect.Value.UnsafeAddr/Pointer is handled // correctly by -d=checkptr package main import ( "reflect" "unsafe" ) func main() { n := 10 m := make(map[string]string)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:12:49 UTC 2023 - 497 bytes - Viewed (0) -
src/runtime/checkptr_test.go
// so it's somewhat slow. if testing.Short() { t.Skip("skipping test in -short mode") } t.Parallel() testenv.MustHaveGoRun(t) exe, err := buildTestProg(t, "testprog", "-gcflags=all=-d=checkptr=1") if err != nil { t.Fatal(err) } testCases := []struct { cmd string want string }{ {"CheckPtrAlignmentPtr", "fatal error: checkptr: misaligned pointer conversion\n"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 31 17:15:15 UTC 2022 - 2.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/nooptcgolink_test.go
if testing.Short() { t.Skip("skipping test in short mode.") } t.Parallel() testenv.MustHaveGoBuild(t) testenv.MustHaveCGO(t) dir := t.TempDir() cmd := testenv.Command(t, testenv.GoToolPath(t), "build", "-gcflags=-N -l", "-o", filepath.Join(dir, "a.out")) cmd.Dir = filepath.Join(testenv.GOROOT(t), "src", "runtime", "testdata", "testprogcgo") out, err := cmd.CombinedOutput() if err != nil { t.Logf("go build output: %s", out)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:22:14 UTC 2022 - 733 bytes - Viewed (0)