add macos support
+ buildifier
This commit is contained in:
13
test/BUILD
13
test/BUILD
@@ -11,6 +11,19 @@ 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"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user