pretty broken

bazel
Nick Dumas 1 year ago
parent cd162d967e
commit 1f0f40d662

@ -18,16 +18,30 @@ go_binary(
)
platform(
name = "darwin/amd64",
name = "macos",
constraint_values = [
"@platforms//os:darwin",
"@platforms//cpu:amd64",
"@platforms//os:osx",
"@platforms//cpu:x86_64",
],
)
platform(
name = "linux",
constraint_values = [
"@platforms//os:linux",
],
)
go_cross_binary(
name = "darwin_binary",
platform = ":macos",
sdk_version = "1.21.0",
target = "base",
)
go_cross_binary(
name = "macOS",
platform = "@bazel_tools//platforms:osx",
name = "linux_binary",
platform = ":linux",
sdk_version = "1.21.0",
target = "base",
)

Loading…
Cancel
Save