Skip to content

Commit

Permalink
Allow rust_binary to depend on cc_library (#83)
Browse files Browse the repository at this point in the history
The error message and the documentation both say this is possible. Light
testing seems to show that this is the only change required.
  • Loading branch information
neachdainn authored and acmcarther committed Apr 12, 2018
1 parent a3239d3 commit b07eca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/rust.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def _rust_binary_impl(ctx):
depinfo = _setup_deps(ctx.attr.deps,
ctx.label.name,
output_dir,
allow_cc_deps=False)
allow_cc_deps=True)

# Build rustc command.
toolchain = _find_toolchain(ctx)
Expand Down

0 comments on commit b07eca4

Please sign in to comment.