Skip to content

Commit

Permalink
Build error fixes in externalalise alias key
Browse files Browse the repository at this point in the history
  • Loading branch information
ograff committed Jun 6, 2024
1 parent 8c494c8 commit 728049a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crate_universe/src/context/crate_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl Rule {
Self::Library(attrs)
| Self::ProcMacro(attrs)
| Self::Binary(attrs)
| Self::BuildScript(attrs) => attrs.crate_name,
| Self::BuildScript(attrs) => &attrs.crate_name,
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion crate_universe/src/rendering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ impl Renderer {
if let Some(override_target) = krate.override_targets.get(rule.override_target_key()) {
starlark.push(Starlark::Alias(Alias {
rule: AliasRule::default().rule(),
name: target.crate_name().clone(),
name: rule.crate_name().to_owned(),
actual: override_target.clone(),
tags: BTreeSet::from(["manual".to_owned()]),
}));
Expand Down

0 comments on commit 728049a

Please sign in to comment.