From 7c39729245a57b7381cc0b05d464b04a437d8ce2 Mon Sep 17 00:00:00 2001 From: Grzegorz Lukasik Date: Wed, 23 Oct 2024 10:49:07 +0200 Subject: [PATCH] Remove redundant with_feature_set for sanitizers It uses the same name as the feature itself. --- cc/private/toolchain/unix_cc_toolchain_config.bzl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cc/private/toolchain/unix_cc_toolchain_config.bzl b/cc/private/toolchain/unix_cc_toolchain_config.bzl index 5e0789b..e500999 100644 --- a/cc/private/toolchain/unix_cc_toolchain_config.bzl +++ b/cc/private/toolchain/unix_cc_toolchain_config.bzl @@ -223,18 +223,12 @@ def _sanitizer_feature(name = "", specific_compile_flags = [], specific_link_fla "-fno-sanitize-recover=all", ] + specific_compile_flags), ], - with_features = [ - with_feature_set(features = [name]), - ], ), flag_set( actions = all_link_actions, flag_groups = [ flag_group(flags = specific_link_flags), ], - with_features = [ - with_feature_set(features = [name]), - ], ), ], )