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
{{ message }}
Repository navigation
Config readability and current dependency on cfg_aliases #9559
I'm still working on getting a sense of all of the dependencies in this package to see where some opportunities arise in reducing the dependency set and I came across the dependency we have on cfg_aliases though the nix project. It is used extensively in that project because of the platform specific nature of their code and the many cfg statements.
We have a similar setup where for example in the stty package we have this all over the place:
As the reader of the code for me its not immediately apparent when reading this why this statement is included all over the place and being unfamiliar with dragonfly I was unaware that the detail shared with all of these platforms is that they are BSD.
The way this dependency works is that you define in the build.rs something like:
Activity
oech3 commentedon Dec 5, 2025
I agree with it because it makes
.rseasy topatchorsedtoo.oech3 commentedon Dec 5, 2025
xtqqczze commentedon Oct 23, 2026
I'm going to work on this, starting with #15634.