Skip to content

Remove procfs. #1275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Remove procfs. #1275

merged 1 commit into from
Jan 23, 2025

Conversation

sunfishcode
Copy link
Member

Remove the procfs module, as most users don't need this functionality and it can be implemented as a layer on top of rustix. This layer is now available in the rustix-linux-procfs crate.

This requires changing ttyname to not use the procfs crate. It now just uses a hard-coded "/proc/self/fd" path.

Remove the procfs module, as most users don't need this functionality
and it can be implemented as a layer on top of rustix. This layer is now
available in the [rustix-linux-procfs] crate.

This requires changing `ttyname` to not use the `procfs` crate. It now
just uses a hard-coded "/proc/self/fd" path.

[rustix-linux-procfs]: https://crates.io/crates/rustix-linux-procfs
@sunfishcode sunfishcode mentioned this pull request Jan 22, 2025
21 tasks
@sunfishcode sunfishcode merged commit f377e85 into main Jan 23, 2025
44 of 45 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/remove-procfs branch January 23, 2025 01:40
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