- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for csflags (0.18 sec)
-
src/cmd/cgo/internal/swig/swig_test.go
extraLDFlags := "" if strings.Contains(testenv.Builder(), "clang") { extraLDFlags += " -fuse-ld=lld" } const cflags = "-flto -Wno-lto-type-mismatch -Wno-unknown-warning-option" cmd.Env = append(cmd.Environ(), "CGO_CFLAGS="+cflags, "CGO_CXXFLAGS="+cflags, "CGO_LDFLAGS="+cflags+extraLDFlags) } out, err := cmd.CombinedOutput() if string(out) != "OK\n" { t.Errorf("%s", string(out)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 12:38:14 UTC 2024 - 4K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/errors_test.go
} func TestToleratesOptimizationFlag(t *testing.T) { for _, cflags := range []string{ "", "-O", } { cflags := cflags t.Run(cflags, func(t *testing.T) { testenv.MustHaveGoBuild(t) testenv.MustHaveCGO(t) t.Parallel() cmd := exec.Command("go", "build", path("issue14669.go")) cmd.Env = append(os.Environ(), "CGO_CFLAGS="+cflags) out, err := cmd.CombinedOutput() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 4K bytes - Viewed (0) -
src/internal/goexperiment/flags.go
// and "go version <binary>" if it differs from the default experiments. // // For the set of experiments supported by the current toolchain, see // "go doc goexperiment.Flags". // // Note that this package defines the set of experiments (in Flags) // and records the experiments that were enabled when the package // was compiled (as boolean and integer constants). // // Note especially that this package does not itself change behavior
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 16:19:47 UTC 2024 - 4.2K bytes - Viewed (0) -
build/pause/Makefile
ALL_OSVERSIONS.windows := 1809 ltsc2022 ALL_OS_ARCH.windows = $(foreach arch, $(ALL_ARCH.windows), $(foreach osversion, ${ALL_OSVERSIONS.windows}, windows-$(arch)-${osversion})) ALL_OS_ARCH = $(foreach os, $(ALL_OS), ${ALL_OS_ARCH.${os}}) CFLAGS = -Os -Wall -Werror -static -DVERSION=v$(TAG)-$(REV) KUBE_CROSS_IMAGE ?= registry.k8s.io/build-image/kube-cross KUBE_CROSS_VERSION ?= $(shell cat ../build-image/cross/VERSION)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 19:31:40 UTC 2024 - 6.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go
// build C code (if any) and link with Go code cmd, err := cc(config.cFlags...) if err != nil { t.Fatalf("error running cc: %v", err) } cmd.Args = append(cmd.Args, config.ldFlags...) cmd.Args = append(cmd.Args, "-o", outPath, "-I", dir.Base()) if tc.cSrc != "" { cmd.Args = append(cmd.Args, srcPath(tc.cSrc)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 00:12:03 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/asm/main.go
architecture := arch.Set(GOARCH, *flags.Shared || *flags.Dynlink) if architecture == nil { log.Fatalf("unrecognized architecture %s", GOARCH) } ctxt := obj.Linknew(architecture.LinkArch) ctxt.Debugasm = flags.PrintOut ctxt.Debugvlog = flags.DebugV ctxt.Flag_dynlink = *flags.Dynlink ctxt.Flag_linkshared = *flags.Linkshared ctxt.Flag_shared = *flags.Shared || *flags.Dynlink ctxt.Flag_maymorestack = flags.DebugFlags.MayMoreStack
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.9K bytes - Viewed (0)