Skip to content

Commit 07f4288

Browse files
committed
Fix zipmerge build and test
1 parent 8e26f64 commit 07f4288

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

misc/bazel/internal/zipmerge/BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ cc_library(
44
"zipmerge.cpp",
55
],
66
hdrs = ["zipmerge.h"],
7+
copts = ["-std=c++20"],
78
)
89

910
cc_binary(
1011
name = "zipmerge",
1112
srcs = [
1213
"zipmerge_main.cpp",
1314
],
15+
copts = ["-std=c++20"],
1416
visibility = ["//visibility:public"],
1517
deps = [
1618
":lib",
@@ -21,6 +23,7 @@ cc_test(
2123
name = "test",
2224
size = "small",
2325
srcs = ["zipmerge_test.cpp"],
26+
copts = ["-std=c++20"],
2427
data = glob(["test-files/*"]),
2528
linkstatic = True, # required to build the test in the internal repo
2629
deps = [

0 commit comments

Comments
 (0)