Skip to content

Commit 68ac1a0

Browse files
A Googlercopybara-github
authored andcommitted
Automated rollback of commit 1a692f8.
PiperOrigin-RevId: 767720533 Change-Id: Ie8316084d4e3eda571fdbcf232092218dd4c1873
1 parent 1a692f8 commit 68ac1a0

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

rules/native_deps.bzl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,13 @@ 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_requested(
366+
if not needs_linking or cc_common.is_enabled(
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+
),
368373
):
369374
return None
370375

0 commit comments

Comments
 (0)