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
uucore: doesn't build with --no-default-features #15339
cargo check -p uucore --no-default-features fails with ten errors on Linux: src/uucore/src/lib/lib.rs, mods/error.rs and mods/panic.rs use nix, which is only enabled by the default signals feature. Adding other features doesn't help, e.g. --no-default-features --features selinux,fs still fails the same way, so uucore can't be used without signals.
was nix kept optional on purpose if not we could make it a non-optional unix dependency with the signal feature enabled so uucore builds with or without signals happy to open a PR for that if it sounds good
Activity
a7604 commentedon Oct 14, 2026
was nix kept optional on purpose if not we could make it a non-optional unix dependency with the signal feature enabled so uucore builds with or without signals happy to open a PR for that if it sounds good
uucore: build without default features on Unix
xtqqczze commentedon Oct 15, 2026
An issue is that #15067 added an implicit
nixdependency without declaring it. #15372 will resolve that but will not fully resolve this issue.xtqqczze commentedon Oct 15, 2026
yes it was made optional because
nixfails to compile on some uncommon targets