Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/cgo/internal/testplugin/plugin_test.go

    func testMain(m *testing.M) int {
    	if testing.Short() && os.Getenv("GO_BUILDER_NAME") == "" {
    		globalSkip = func(t *testing.T) { t.Skip("short mode and $GO_BUILDER_NAME not set") }
    		return m.Run()
    	}
    	if !platform.BuildModeSupported(runtime.Compiler, "plugin", runtime.GOOS, runtime.GOARCH) {
    		globalSkip = func(t *testing.T) { t.Skip("plugin build mode not supported") }
    		return m.Run()
    	}
    	if !testenv.HasCGO() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top