mirror of https://github.com/bazelbuild/rules_cc
Remove redundant with_feature_set for sanitizers
It uses the same name as the feature itself.
This commit is contained in:
parent
9e3e907560
commit
7c39729245
|
@ -223,18 +223,12 @@ def _sanitizer_feature(name = "", specific_compile_flags = [], specific_link_fla
|
||||||
"-fno-sanitize-recover=all",
|
"-fno-sanitize-recover=all",
|
||||||
] + specific_compile_flags),
|
] + specific_compile_flags),
|
||||||
],
|
],
|
||||||
with_features = [
|
|
||||||
with_feature_set(features = [name]),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
flag_set(
|
flag_set(
|
||||||
actions = all_link_actions,
|
actions = all_link_actions,
|
||||||
flag_groups = [
|
flag_groups = [
|
||||||
flag_group(flags = specific_link_flags),
|
flag_group(flags = specific_link_flags),
|
||||||
],
|
],
|
||||||
with_features = [
|
|
||||||
with_feature_set(features = [name]),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue