- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for MustLinkExternal (0.31 sec)
-
src/cmd/dist/build_test.go
"testing" ) // TestMustLinkExternal verifies that the mustLinkExternal helper // function matches internal/platform.MustLinkExternal. func TestMustLinkExternal(t *testing.T) { for _, goos := range okgoos { for _, goarch := range okgoarch { for _, cgoEnabled := range []bool{true, false} { got := mustLinkExternal(goos, goarch, cgoEnabled) want := platform.MustLinkExternal(goos, goarch, cgoEnabled) if got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 02 16:34:21 UTC 2023 - 757 bytes - Viewed (0) -
src/cmd/link/internal/ld/config.go
} // mustLinkExternal reports whether the program being linked requires // the external linker be used to complete the link. func mustLinkExternal(ctxt *Link) (res bool, reason string) { if ctxt.Debugvlog > 1 { defer func() { if res { ctxt.Logf("external linking is forced by: %s\n", reason) } }() } if platform.MustLinkExternal(buildcfg.GOOS, buildcfg.GOARCH, false) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:14:11 UTC 2023 - 5.6K bytes - Viewed (0) -
src/cmd/go/scriptconds_test.go
GOOS, _ := s.LookupEnv("GOOS") GOARCH, _ := s.LookupEnv("GOARCH") return platform.MustLinkExternal(GOOS, GOARCH, true), nil } func mustLinkExt(s *script.State) (bool, error) { GOOS, _ := s.LookupEnv("GOOS") GOARCH, _ := s.LookupEnv("GOARCH") return platform.MustLinkExternal(GOOS, GOARCH, false), nil } func pieLinkExt(s *script.State) (bool, error) { GOOS, _ := s.LookupEnv("GOOS")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.4K bytes - Viewed (0) -
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/internal/testenv/testenv_test.go
// will not be able to exec, so we may as well allow that now. t.Logf("HasGoBuild is false on %s", b) return } case "android": if isEmulatedBuilder(b) && platform.MustLinkExternal(runtime.GOOS, runtime.GOARCH, false) { // As of 2023-05-02, the test environment on the emulated builders is // missing a C linker. t.Logf("HasGoBuild is false on %s", b) return } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 23:12:44 UTC 2024 - 6.1K bytes - Viewed (0)