- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GO_GCFLAGS (0.28 sec)
-
src/cmd/internal/testdir/testdir_test.go
// or else the commands will rebuild any needed packages (like runtime) // over and over. func (test) goGcflags() string { return "-gcflags=all=" + os.Getenv("GO_GCFLAGS") } func (test) goGcflagsIsEmpty() bool { return "" == os.Getenv("GO_GCFLAGS") } var errTimeout = errors.New("command exceeded time limit") // run runs the test case. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
src/cmd/go/go_test.go
} os.Setenv("CMDGO_TEST_RUN_MAIN", "true") // $GO_GCFLAGS a compiler debug flag known to cmd/dist, make.bash, etc. // It is not a standard go command flag; use os.Getenv, not cfg.Getenv. if os.Getenv("GO_GCFLAGS") != "" { fmt.Fprintf(os.Stderr, "testing: warning: no tests to run\n") // magic string for cmd/go fmt.Printf("cmd/go test is not compatible with $GO_GCFLAGS being set\n") fmt.Printf("SKIP\n") return }
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/dist/test.go
"flag" "fmt" "io" "io/fs" "log" "os" "os/exec" "path/filepath" "reflect" "regexp" "runtime" "strconv" "strings" "time" ) func cmdtest() { gogcflags = os.Getenv("GO_GCFLAGS") setNoOpt() var t tester var noRebuild bool flag.BoolVar(&t.listMode, "list", false, "list available tests") flag.BoolVar(&t.rebuild, "rebuild", false, "rebuild everything first")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
src/cmd/dist/build.go
install("time/tzdata") // no dependency in sources; creates generated file install("cmd/go") if vflag > 0 { xprintf("\n") } gogcflags = os.Getenv("GO_GCFLAGS") // we were using $BOOT_GO_GCFLAGS until now setNoOpt() goldflags = os.Getenv("GO_LDFLAGS") // we were using $BOOT_GO_LDFLAGS until now goBootstrap := pathf("%s/go_bootstrap", tooldir) if debug {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0)