Skip to content

Commit

Permalink
Allow file targets in native_tool_toolchain() (#1117)
Browse files Browse the repository at this point in the history
Some users might want to specify simple files (such as pre-built tools)
in the target attribute of native_tool_toolchain.

Co-authored-by: UebelAndre <[email protected]>
  • Loading branch information
sitaktif and UebelAndre authored Dec 1, 2023
1 parent 0258d35 commit 83aeab3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions toolchains/native_tools/native_tools_toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ native_tool_toolchain = rule(
"If the tool is built as part of the build, the corresponding build target, " +
"which should produce the tree artifact with the binary to call."
),
allow_files = True,
),
},
incompatible_use_toolchain_transition = True,
Expand Down

0 comments on commit 83aeab3

Please sign in to comment.