1

split go and c examples

This commit is contained in:
2021-06-07 22:56:15 +03:00
committed by Motiejus Jakštys
parent d3af35cbc6
commit c449706594
6 changed files with 29 additions and 20 deletions

13
test/c/BUILD Normal file
View File

@@ -0,0 +1,13 @@
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"],
)