Skip to content

Replace more usages of nix#11823

Draft
sylvestre wants to merge 3 commits intomainfrom
rustix/prep
Draft

Replace more usages of nix#11823
sylvestre wants to merge 3 commits intomainfrom
rustix/prep

Conversation

@sylvestre
Copy link
Copy Markdown
Contributor

No description provided.

Add rustix 1.1.4 with default-features = false to prepare for
migrating from nix to rustix for safer syscall bindings.
Replace all `nix::libc::*` usages with direct `libc::*` imports
to decouple libc access from the nix crate, as preparation for
migrating from nix to rustix.

Add direct libc dependency to crates that previously relied on
nix's libc re-export: stty, env, sort, date, mknod, touch.
Add a `csignal` module with thin libc-based wrappers for signal
operations that rustix does not cover: signal(), sigaction(),
sigprocmask(), SigSet, SigHandler, and SigmaskHow.

These wrappers will replace nix's signal module as part of the
nix-to-rustix migration.

Also add libc as a non-optional unix dependency for uucore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant