- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for MustLinkExternal (0.24 sec)
-
src/internal/platform/supported.go
case "amd64", "arm64": // TODO(#14565): support more architectures. return FuzzSupported(goos, goarch) default: return false } } // MustLinkExternal reports whether goos/goarch requires external linking // with or without cgo dependencies. func MustLinkExternal(goos, goarch string, withCgo bool) bool { if withCgo { switch goarch { case "loong64", "mips", "mipsle", "mips64", "mips64le":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:50:22 UTC 2024 - 7.6K bytes - Viewed (0) -
src/cmd/dist/build.go
fatalf("%s should not exist in release build", p) } } } } /* * Tool building */ // mustLinkExternal is a copy of internal/platform.MustLinkExternal, // duplicated here to avoid version skew in the MustLinkExternal function // during bootstrapping. func mustLinkExternal(goos, goarch string, cgoEnabled bool) bool { if cgoEnabled { switch goarch {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/internal/testenv/testenv.go
if len(out) == 0 { goBuildErr = fmt.Errorf("%v: no tool reported", cmd) return } if _, err := exec.LookPath(string(out)); err != nil { goBuildErr = err return } if platform.MustLinkExternal(runtime.GOOS, runtime.GOARCH, false) { // We can assume that we always have a complete Go toolchain available. // However, this platform requires a C linker to build even pure Go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 15.7K bytes - Viewed (0) -
src/syscall/exec_linux_test.go
os.Exit(2) } os.Exit(0) } d := t.TempDir() // Since we are doing a chroot, we need the binary there, // and it must be statically linked. testenv.MustHaveGoBuild(t) if platform.MustLinkExternal(runtime.GOOS, runtime.GOARCH, false) { t.Skipf("skipping: can't build static binary because %s/%s requires external linking", runtime.GOOS, runtime.GOARCH) } x := filepath.Join(d, "syscall.test") t.Cleanup(func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 20.6K bytes - Viewed (0) -
src/cmd/go/internal/work/gc.go
// linker's build id, which will cause our build id to not // match the next time the tool is built. // Rely on the external build id instead. if !platform.MustLinkExternal(cfg.Goos, cfg.Goarch, false) { ldflags = append(ldflags, "-X=cmd/internal/objabi.buildID="+root.buildID) } } // Store default GODEBUG in binaries. if root.Package.DefaultGODEBUG != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:37:44 UTC 2024 - 23K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
// linking is not required. func externalLinkingReason(p *Package) (what string) { // Some targets must use external linking even inside GOROOT. if platform.MustLinkExternal(cfg.Goos, cfg.Goarch, false) { return cfg.Goos + "/" + cfg.Goarch } // Some build modes always require external linking. switch cfg.BuildBuildmode { case "c-shared", "plugin":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0)