1

remove redundant target

This commit is contained in:
2021-06-16 14:44:57 +03:00
committed by Motiejus Jakštys
parent f824f4ac8e
commit 18b43049c1
2 changed files with 10 additions and 21 deletions

View File

@@ -11,19 +11,10 @@ go_library(
go_binary(
name = "gognu",
embed = [":go_lib"],
target_compatible_with = ["@platforms//os:linux"],
visibility = ["//visibility:public"],
)
go_binary(
name = "gomacos",
embed = [":go_lib"],
gc_linkopts = [
"-s",
"-w",
"-buildmode=pie",
],
target_compatible_with = ["@platforms//os:macos"],
gc_linkopts = select({
"@platforms//os:macos": ["-s", "-w", "-buildmode=pie"],
"//conditions:default": [],
}),
visibility = ["//visibility:public"],
)