1
hermetic_cc_toolchain/test/BUILD

16 lines
348 B
Python

cc_binary(
name = "hello",
srcs = ["hello.cpp"],
target_compatible_with = select({
"@platforms//os:linux": ["@com_github_ziglang_zig//:musl"],
"//conditions:default": [],
}),
)
cc_binary(
name = "exception",
srcs = ["exception.cpp"],
)
# go build -ldflags "-linkmode external -extldflags -static" hello.go