Skip to content

Commit

Permalink
fix prost again (can't run tests locally...)
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-mccall committed Nov 29, 2024
1 parent 8e13e6c commit c7be518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/prost/private/prost.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def _rust_prost_aspect_impl(target, ctx):
# https://github.com/rust-analyzer/rust-analyzer/blob/2021-11-15/crates/project_model/src/workspace.rs#L529-L531
cfgs = ["test", "debug_assertions"]

crate_id = "prost-" + crate_info.root.path
crate_id = "prost-" + dep_variant_info.crate_info.root.path

rust_analyzer_info = write_rust_analyzer_spec_file(ctx, ctx.rule.attr, ctx.label, RustAnalyzerInfo(
id = crate_id,
Expand Down Expand Up @@ -336,7 +336,7 @@ def _rust_prost_library_impl(ctx):
),
),
RustAnalyzerGroupInfo(
crate_specs = proto_dep[RustAnalyzerInfo].crate_specs
crate_specs = proto_dep[RustAnalyzerInfo].crate_specs,
deps = proto_dep[RustAnalyzerInfo].deps,
),
]
Expand Down

0 comments on commit c7be518

Please sign in to comment.