Allow file targets in native_tool_toolchain() (#1117)

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 <github@uebelandre.com>
This commit is contained in:
Sitaktif 2023-12-01 12:42:30 +00:00 committed by GitHub
parent 0258d350a9
commit 83aeab38da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ native_tool_toolchain = rule(
"If the tool is built as part of the build, the corresponding build target, " + "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." "which should produce the tree artifact with the binary to call."
), ),
allow_files = True,
), ),
}, },
incompatible_use_toolchain_transition = True, incompatible_use_toolchain_transition = True,