Skip to content

Commit

Permalink
Migrate for Bazel's --incompatible_require_ctx_in_configure_features
Browse files Browse the repository at this point in the history
This PR migrates rules_rust for bazelbuild/bazel#7793
  • Loading branch information
hlopko committed May 10, 2019
1 parent 60a2654 commit 347490c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/private/rustc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ def _get_linker_and_args(ctx, rpaths):

cc_toolchain = find_cpp_toolchain(ctx)
feature_configuration = cc_common.configure_features(
ctx = ctx,
cc_toolchain = cc_toolchain,
requested_features = ctx.features,
unsupported_features = ctx.disabled_features,
Expand Down

0 comments on commit 347490c

Please sign in to comment.