Skip to content

Commit 1a692f8

Browse files
A Googlercopybara-github
authored andcommitted
internal change.
PiperOrigin-RevId: 767693649 Change-Id: I7f4f26786c21000380a640efed7815f08b8027be
1 parent 2b177ce commit 1a692f8

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

rules/native_deps.bzl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -363,13 +363,8 @@ def _link_native_deps_if_present(ctx, cc_info, cc_toolchain, build_config, targe
363363
for input in all_inputs:
364364
needs_linking = needs_linking or _contains_code_to_link(input)
365365

366-
if not needs_linking or cc_common.is_enabled(
366+
if not needs_linking or cc_common.is_requested(
367367
feature_name = "disable_fallback_native_deps_linking",
368-
feature_configuration = cc_common.configure_features(
369-
ctx = ctx,
370-
cc_toolchain = cc_toolchain,
371-
unsupported_features = ctx.disabled_features,
372-
),
373368
):
374369
return None
375370

0 commit comments

Comments
 (0)