Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cbarrete opened this issue Jan 5, 2025 · 0 comments

Comments

@cbarrete
Copy link
Contributor

cbarrete commented Jan 5, 2025

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant