musl-static
This commit is contained in:
parent
c449706594
commit
6ed6563a37
@ -7,10 +7,15 @@ go_library(
|
|||||||
cgo = True,
|
cgo = True,
|
||||||
importpath = "github.com/motiejus/bazel-zig-cc/test/go",
|
importpath = "github.com/motiejus/bazel-zig-cc/test/go",
|
||||||
visibility = ["//visibility:private"],
|
visibility = ["//visibility:private"],
|
||||||
|
target_compatible_with = select({
|
||||||
|
"@platforms//os:linux": ["@com_github_ziglang_zig//:musl"],
|
||||||
|
"//conditions:default": [],
|
||||||
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
go_binary(
|
go_binary(
|
||||||
name = "go",
|
name = "go",
|
||||||
embed = [":go_lib"],
|
embed = [":go_lib"],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
|
static = "on",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user