File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 22 name = "using_headers_test" ,
33 srcs = ["using_headers.cc" ],
44 copts = select ({
5- "@platforms//os:windows" : ["/std:c++14 " ],
6- "//conditions:default" : ["-std=c++14 " ],
5+ "@platforms//os:windows" : ["/std:c++17 " ],
6+ "//conditions:default" : ["-std=c++17 " ],
77 }),
88 target_compatible_with = select ({
99 # Windows does not ship headers in the release artifact so this won't work yet.
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ cc_library(
4242 name = "foo",
4343 srcs = ["foo.cc"],
4444 # If toolchain sets this already, you can omit.
45- copts = ["-std=c++14 "],
45+ copts = ["-std=c++17 "],
4646 deps = ["@rules_nodejs//nodejs/headers:current_node_cc_headers"]
4747)
4848```
Original file line number Diff line number Diff line change @@ -275,6 +275,7 @@ cc_library(
275275 # -> no results ...
276276 allow_empty = True,
277277 ),
278+ copts = ["-std=c++17"],
278279 includes = ["bin/nodejs/include/node"],
279280)
280281"""
You can’t perform that action at this time.
0 commit comments