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

Method buildTarget

buildsystems/buildconfig_merge.go:97–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95}
96
97func (b BuildConfig) buildTarget() string {
98 systemName := strings.ToLower(b.Ctx.Platform().GetToolchain().GetSystemName())
99 if !slices.Contains([]string{"windows", "linux", "darwin"}, systemName) {
100 return runtime.GOOS
101 }
102 return systemName
103}

Callers 1

mergeConfigMethod · 0.95

Calls 3

GetSystemNameMethod · 0.65
GetToolchainMethod · 0.65
PlatformMethod · 0.65

Tested by

no test coverage detected