MCPcopy Create free account
hub / github.com/celer-pkg/celer / arch

Method arch

configs/toolchain_windows.go:300–309  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

298}
299
300func (Toolchain) arch() string {
301 switch runtime.GOARCH {
302 case "amd64", "arm64":
303 return "x64"
304 case "386", "arm":
305 return "x86"
306 default:
307 panic("unsupported arch: " + runtime.GOARCH)
308 }
309}
310
311func (t Toolchain) findLatestMSVCVersion(msvcDir string) (string, error) {
312 entries, err := os.ReadDir(msvcDir)

Callers 1

ValidateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected