-
Notifications
You must be signed in to change notification settings - Fork 301
Description
i've got the following setup: first party code compiles with a certain set of common cflags, while dependency code compiles with a different set of cflags.
to accomplish this without needing to manually set cflags everywhere, i have a constraint that i apply to dependencies, and a transition that transitions to having that constraint. to apply that transition (since almost nothing, including rust_library
, supports incoming_transition
yet) i have an alias
-like rule that just has an outgoing transition_dep
field (instead of normal dep
for alias).
however, with rust using plugins for proc macros, i've run into a problem -- transition_dep
doesn't support pulls_and_pushes_plugins
, so the rust proc macro building code errors out, and i can't seem to figure out a workaround.
a) it seems to me like maybe transition_dep
should have the plugin propagation settings just like normal dep
s
b) do y'all have a suggested workaround here? am i holding something wrong?