Skip to content

Commit e249725

Browse files
committed
Properly handle artifact_name_patterns
1 parent cdaf15f commit e249725

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/private/rustc.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1638,6 +1638,7 @@ def rustc_compile_action(
16381638
compilation_outputs = compilation_outputs,
16391639
name = output_relative_to_package,
16401640
stamp = ctx.attr.stamp,
1641+
main_output = crate_info.output,
16411642
output_type = "executable" if crate_info.type == "bin" else "dynamic_library",
16421643
additional_outputs = additional_linker_outputs,
16431644
)

0 commit comments

Comments
 (0)