Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cgolinkext (0.27 sec)

  1. src/cmd/go/testdata/script/cgo_suspect_flag_force_external.txt

    go build -ldflags=-tmpdir=tmp4 -o $devnull ./usesExplicitCgo &
    
    # Fifth build: explicit CGO, but we specifically asked for internal linking
    # via a flag, so using internal linking it is.
    [cgolinkext] go list ./usesInternalCgo
    [!cgolinkext] go build '-ldflags=-tmpdir=tmp5 -linkmode=internal' -o $devnull ./usesInternalCgo &
    
    # Sixth build: explicit CGO use in a non-main package.
    go build -o p.a ./nonMainPackageUsesExplicitCgo &
    
    wait
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 25 18:16:01 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. src/cmd/go/scriptconds_test.go

    	add("cc", script.PrefixCondition("go env CC = <suffix> (ignoring the go/env file)", ccIs))
    	add("cgo", script.BoolCondition("host CGO_ENABLED", testenv.HasCGO()))
    	add("cgolinkext", script.Condition("platform requires external linking for cgo", cgoLinkExt))
    	add("cross", script.BoolCondition("cmd/go GOOS/GOARCH != GOHOSTOS/GOHOSTARCH", goHostOS != runtime.GOOS || goHostArch != runtime.GOARCH))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/README

    [buildmode:*]
    	go supports -buildmode=<suffix>
    [case-sensitive]
    	$WORK filesystem is case-sensitive
    [cc:*]
    	go env CC = <suffix> (ignoring the go/env file)
    [cgo]
    	host CGO_ENABLED
    [cgolinkext]
    	platform requires external linking for cgo
    [compiler:*]
    	runtime.Compiler == <suffix>
    [cross]
    	cmd/go GOOS/GOARCH != GOHOSTOS/GOHOSTARCH
    [exec:*]
    	<suffix> names an executable in the test binary's PATH
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top