1
hermetic_cc_toolchain/test/BUILD

16 lines
348 B
Python
Raw Normal View History

2021-04-10 01:05:01 +03:00
cc_binary(
name = "hello",
srcs = ["hello.cpp"],
target_compatible_with = select({
"@platforms//os:linux": ["@com_github_ziglang_zig//:musl"],
"//conditions:default": [],
}),
2021-04-10 01:05:01 +03:00
)
cc_binary(
name = "exception",
srcs = ["exception.cpp"],
)
2021-06-07 22:33:34 +03:00
# go build -ldflags "-linkmode external -extldflags -static" hello.go