Skip to content

Commit

Permalink
_rust_binary_impl: propagate data to the crate info (#2342)
Browse files Browse the repository at this point in the history
Just noticed this inconsistency, updated similarly to rust_library.

Co-authored-by: Daniel Wagner-Hall <[email protected]>
Co-authored-by: scentini <[email protected]>
  • Loading branch information
3 people authored Dec 19, 2023
1 parent ab545e0 commit 7e4619d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/private/rust.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ def _rust_binary_impl(ctx):
rustc_env = ctx.attr.rustc_env,
rustc_env_files = ctx.files.rustc_env_files,
is_test = False,
data = depset(ctx.files.data),
compile_data = depset(ctx.files.compile_data),
compile_data_targets = depset(ctx.attr.compile_data),
owner = ctx.label,
Expand Down

0 comments on commit 7e4619d

Please sign in to comment.