You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A feature carries no free-form link flags and no include directories by rule, not by omission: docs/06 states that a feature "does not inject free-form package-wide cflags/ldflags, which would break the additive feature-union model", and that link flags come from a dependency, not from a feature. Two consumers that enable different features of one package must be able to share one build of it; a feature that changes the package's link line makes the union of features a different package.
What the report asks to express is expressible since [feature-deps.<name>] (docs/06): the feature pulls a dependency, and the dependency carries its own include directories and link flags as its usage requirements, which reach the consumers along the edge (SPEC-004 §9). With the feature off, the dependency is not in the graph and nothing is linked.
For the case that raised it (the Linux tray of eui-neo needing glib): glib is a package of its own, pulled by [feature-deps.tray], instead of a tree generated inside the package whose -L/-l the feature would have to gate.
Activity
speak-agent commentedon Nov 26, 2026
Closing as not planned.
A feature carries no free-form link flags and no include directories by rule, not by omission: docs/06 states that a feature "does not inject free-form package-wide
cflags/ldflags, which would break the additive feature-union model", and that link flags come from a dependency, not from a feature. Two consumers that enable different features of one package must be able to share one build of it; a feature that changes the package's link line makes the union of features a different package.What the report asks to express is expressible since
[feature-deps.<name>](docs/06): the feature pulls a dependency, and the dependency carries its own include directories and link flags as its usage requirements, which reach the consumers along the edge (SPEC-004 §9). With the feature off, the dependency is not in the graph and nothing is linked.For the case that raised it (the Linux tray of eui-neo needing glib): glib is a package of its own, pulled by
[feature-deps.tray], instead of a tree generated inside the package whose-L/-lthe feature would have to gate.