Skip to content

Commit 7c865ff

Browse files
authored
Build _import_macro_dep in exec mode (#1203)
Like the rest of the `proc_macro` dependencies.
1 parent 635da93 commit 7c865ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/private/rust.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,7 @@ _common_attrs = {
594594
"_extra_rustc_flags": attr.label(default = "//:extra_rustc_flags"),
595595
"_import_macro_dep": attr.label(
596596
default = "@rules_rust//util/import",
597+
cfg = "exec",
597598
),
598599
"_process_wrapper": attr.label(
599600
default = Label("//util/process_wrapper"),

0 commit comments

Comments
 (0)