mirror of https://github.com/bazelbuild/rules_cc
Remove duplication of feature_configuration
RELNOTES: None. PiperOrigin-RevId: 236652129
This commit is contained in:
parent
e12b276bc7
commit
2d3bc12294
|
@ -38,11 +38,6 @@ def _my_c_archive_impl(ctx):
|
||||||
compilation_context = cc_common.create_compilation_context()
|
compilation_context = cc_common.create_compilation_context()
|
||||||
linking_context = cc_common.create_linking_context(libraries_to_link = [library_to_link])
|
linking_context = cc_common.create_linking_context(libraries_to_link = [library_to_link])
|
||||||
|
|
||||||
feature_configuration = cc_common.configure_features(
|
|
||||||
cc_toolchain = cc_toolchain,
|
|
||||||
requested_features = ctx.features,
|
|
||||||
unsupported_features = ctx.disabled_features,
|
|
||||||
)
|
|
||||||
archiver_path = cc_common.get_tool_for_action(
|
archiver_path = cc_common.get_tool_for_action(
|
||||||
feature_configuration = feature_configuration,
|
feature_configuration = feature_configuration,
|
||||||
action_name = CPP_LINK_STATIC_LIBRARY_ACTION_NAME,
|
action_name = CPP_LINK_STATIC_LIBRARY_ACTION_NAME,
|
||||||
|
|
Loading…
Reference in New Issue