bazelbuild / bazelbuild/rules_rust

Update unpretty rules to work with `rust_library_group`

Open
#3,333 0 comments 0 reactions 1 assignee Claimed by @UebelAndre View on GitHub
enhancement needs-triage
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

The `rust_unpretty_aspect` is designed to only handle targets which provide `CrateInfo` (and `TestCrateInfo`) due to the reuse of the `Rustc` action to pass `-Zunpretty`. Unfortunately, rules which provide `CrateGroupInfo` make it hard for `rust_unpretty` to spawn actions for the actual crates. It would be great if the rules could somehow handle this in a performant way.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.