Skip to content

Commit

Permalink
Flip --incompatible_make_rust_providers_target_independent (#998)
Browse files Browse the repository at this point in the history
  • Loading branch information
scentini committed Oct 29, 2021
1 parent 0c53d0e commit 7281091
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions proto/proto.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def _rust_proto_compile(protos, descriptor_sets, imports, crate_name, ctx, is_gr
is_test = False,
compile_data = depset([target.files for target in getattr(ctx.attr, "compile_data", [])]),
wrapped_crate_type = None,
owner = ctx.label,
),
output_hash = output_hash,
)
Expand Down
2 changes: 1 addition & 1 deletion rust/settings/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ incompatible_flag(

incompatible_flag(
name = "incompatible_make_rust_providers_target_independent",
build_setting_default = False,
build_setting_default = True,
issue = "https://github.com/bazelbuild/rules_rust/issues/966",
)

Expand Down

0 comments on commit 7281091

Please sign in to comment.