You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When set render_config(default_alias_rule = "opt") for vendor_remote_repository. The generated alias rules are not working with the following error:
ERROR: .../BUILD.bazel:254:12: error loading package '@@crate_index//': cannot load '@@crate_index//:alias_rules.bzl': no such file and referenced by '//...'
A closer look showed that the generated alias_rules.bzl is not included in the generated crate_index repo.
If I understood correctly, alias_rules.bzl contains no dynamically generated content, and could be directly referenced from rules_rust.
The text was updated successfully, but these errors were encountered:
ashi009
changed the title
vendor_remote_repository's alias targets doesn't work
vendor_remote_repository generated alias targets don't work
Sep 4, 2024
When set
render_config(default_alias_rule = "opt")
forvendor_remote_repository
. The generated alias rules are not working with the following error:A closer look showed that the generated
alias_rules.bzl
is not included in the generatedcrate_index
repo.If I understood correctly,
alias_rules.bzl
contains no dynamically generated content, and could be directly referenced fromrules_rust
.The text was updated successfully, but these errors were encountered: