Skip to content

Commit 9381390

Browse files
authored
fix: target_compatible_with other workspaces (#73)
When passing different workspaces to customize the target compatibility, Label removes the workspace name, rendering the wrong string back into the BUILD.bazel files. Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
1 parent 01f4347 commit 9381390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolchain/defs.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _gcc_toolchain_impl(rctx):
4949
]
5050

5151
target_compatible_with = [
52-
str(Label(v.format(target_arch = target_arch)))
52+
v.format(target_arch = target_arch)
5353
for v in rctx.attr.target_compatible_with
5454
]
5555

0 commit comments

Comments
 (0)