1
Fork 0

musl-static

This commit is contained in:
Motiejus Jakštys 2021-06-07 23:00:32 +03:00 committed by Motiejus Jakštys
parent c449706594
commit 6ed6563a37
1 changed files with 5 additions and 0 deletions

View File

@ -7,10 +7,15 @@ go_library(
cgo = True,
importpath = "github.com/motiejus/bazel-zig-cc/test/go",
visibility = ["//visibility:private"],
target_compatible_with = select({
"@platforms//os:linux": ["@com_github_ziglang_zig//:musl"],
"//conditions:default": [],
}),
)
go_binary(
name = "go",
embed = [":go_lib"],
visibility = ["//visibility:public"],
static = "on",
)