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
Use OS groups and star imports to reduce cfg boilerplate. (#549)
* Use OS groups and star imports to reduce `cfg` boilerplate.
Define cfg flags following the OS groups from the libc crate,
linux_like, freebsdlike, netbsdlike, apple, and solarish, to factor out
common cfg groups.
And use `pub use foo::*;` instead of explicitly naming all the contents
of `foo` in several places, reducing the need for `cfg` boilerplate.
There's more that can be done here, but this is a start.
* Simplify and fix `PROC_SUPER_MAGIC` etc.
0 commit comments