Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CgoSupported (0.29 sec)

  1. src/internal/platform/zosarch.go

    	{"freebsd", "amd64"}:   {CgoSupported: true},
    	{"freebsd", "arm"}:     {CgoSupported: true},
    	{"freebsd", "arm64"}:   {CgoSupported: true},
    	{"freebsd", "riscv64"}: {CgoSupported: true},
    	{"illumos", "amd64"}:   {CgoSupported: true},
    	{"ios", "amd64"}:       {CgoSupported: true},
    	{"ios", "arm64"}:       {CgoSupported: true},
    	{"js", "wasm"}:         {},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:19:16 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/internal/platform/zosarch_test.go

    {{range .}}	{ {{ printf "%q" .GOOS }}, {{ printf "%q" .GOARCH }} },
    {{end}}
    }
    
    var distInfo = map[OSArch]osArchInfo {
    {{range .}}	{ {{ printf "%q" .GOOS }}, {{ printf "%q" .GOARCH }} }:
    { {{if .CgoSupported}}CgoSupported: true, {{end}}{{if .FirstClass}}FirstClass: true, {{end}}{{if .Broken}} Broken: true, {{end}} },
    {{end}}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/tool/tool.go

    			continue
    		}
    		if *jsonFlag {
    			results = append(results, jsonResult{
    				GOOS:         p.GOOS,
    				GOARCH:       p.GOARCH,
    				CgoSupported: platform.CgoSupported(p.GOOS, p.GOARCH),
    				FirstClass:   platform.FirstClass(p.GOOS, p.GOARCH),
    				Broken:       broken,
    			})
    		}
    	}
    	out, err := json.MarshalIndent(results, "", "\t")
    	if err != nil {
    		return false
    	}
    
    	os.Stdout.Write(out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/internal/platform/supported.go

    // stored in the generated distInfo map.
    type osArchInfo struct {
    	CgoSupported bool
    	FirstClass   bool
    	Broken       bool
    }
    
    // CgoSupported reports whether goos/goarch supports cgo.
    func CgoSupported(goos, goarch string) bool {
    	return distInfo[OSArch{goos, goarch}].CgoSupported
    }
    
    // FirstClass reports whether goos/goarch is considered a “first class” port.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:50:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top