Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MustLinkExternal (0.25 sec)

  1. 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)
Back to top