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

[FR]: Exclude transitioned targets #409

Open
alexeagle opened this issue Oct 9, 2024 · 0 comments
Open

[FR]: Exclude transitioned targets #409

alexeagle opened this issue Oct 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@alexeagle
Copy link
Member

What is the current behavior?

If a library target is transitioned to a different target platform, the aspect will visit the library more than once.

For example,

cc_binary(a)
embedded_target(e1, apps = [a])
embedded_target(e2, apps = [a])

context: https://bazelbuild.slack.com/archives/CA31HN1T3/p1728485100416379?thread_ts=1728325365.388799&cid=CA31HN1T3

Describe the feature

Some way to prevent propagating the aspect across transition boundaries is probably the desired fix.

@alexeagle alexeagle added the enhancement New feature or request label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant