Skip to content

What's the recommended way to work around the lack of per-target transitions? #832

Open
@cbarrete

Description

https://buck2.build/docs/rule_authors/configuration_transitions/#per-target-transition states that there are no plans to add per-target transitions to Buck2.

The way that I currently work around this is to have wrapper rules that take a base dep, and just return this dep's providers and applies a transition. This works (for the most part), but it's a source of confusion and frustration for users. Is this the best we can do for now?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions