Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildModeSupported (0.33 sec)

  1. src/cmd/dist/test.go

    		return goarch == "amd64"
    	default:
    		return false
    	}
    }
    
    // buildModeSupported is a copy of the function
    // internal/platform.BuildModeSupported, which can't be used here
    // because cmd/dist can not import internal packages during bootstrap.
    func buildModeSupported(compiler, buildmode, goos, goarch string) bool {
    	if compiler == "gccgo" {
    		return true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  2. src/cmd/go/go_test.go

    	tg.runFail("run", path)
    	tg.grepStderr("compile", "does not match go tool version")
    }
    
    func TestBuildmodePIE(t *testing.T) {
    	tooSlow(t, "links binaries")
    
    	if !platform.BuildModeSupported(runtime.Compiler, "pie", runtime.GOOS, runtime.GOARCH) {
    		t.Skipf("skipping test because buildmode=pie is not supported on %s/%s", runtime.GOOS, runtime.GOARCH)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top