Skip to content

Commit c1726eb

Browse files
committed
Cleanup
1 parent d965918 commit c1726eb

File tree

2 files changed

+2
-197
lines changed

2 files changed

+2
-197
lines changed

cc/checktags.py

Lines changed: 0 additions & 195 deletions
This file was deleted.

cc/defs2.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def _any_of_in(keys, features):
118118

119119
def _check_features_misuse(features):
120120
if "gnu_extensions" in features:
121-
fail("Do not enable gnu_extensions features manually, pass extensions=True instead")
121+
fail("Do not enable gnu_extensions feature manually, pass extensions=True instead")
122122
if _any_of_in(["c89", "c90", "c99", "c11", "c17", "c++98", "c++11", "c++14", "c++17", "c++20", "c++23"], features):
123123
fail("Do not set language standards manually, pass standard=n instead")
124124
if _any_of_in(["prod_coding_standard", "internal_coding_standard", "safe_coding_standard", "portable_coding_standard"], features):
@@ -146,7 +146,7 @@ def _get_lang_features(lang, extensions, standard, portable):
146146
lang_standard_feature = select({
147147
Label("@rules_swiftnav//cc:cxx17"): ["c++17"],
148148
Label("@rules_swiftnav//cc:cxx20"): ["c++20"],
149-
Label("@rules_swiftnav//cc:cxx23"): ["c++23"],
149+
Label("@rules_swiftnav//cc:cxx23"): ["c++23"], # currently not yet implemented in toolchains!
150150
"//conditions:default": ["c++14"],
151151
})
152152

0 commit comments

Comments
 (0)