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 2
2
name = "using_headers_test" ,
3
3
srcs = ["using_headers.cc" ],
4
4
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 " ],
7
7
}),
8
8
target_compatible_with = select ({
9
9
# 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(
42
42
name = "foo",
43
43
srcs = ["foo.cc"],
44
44
# If toolchain sets this already, you can omit.
45
- copts = ["-std=c++14 "],
45
+ copts = ["-std=c++17 "],
46
46
deps = ["@rules_nodejs//nodejs/headers:current_node_cc_headers"]
47
47
)
48
48
```
Original file line number Diff line number Diff line change @@ -275,6 +275,7 @@ cc_library(
275
275
# -> no results ...
276
276
allow_empty = True,
277
277
),
278
+ copts = ["-std=c++17"],
278
279
includes = ["bin/nodejs/include/node"],
279
280
)
280
281
"""
You can’t perform that action at this time.
0 commit comments