Skip to content

Use libc pipe2 instead of raw pipe2 syscall on Linux #108

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

Open
bjorn3 opened this issue Jan 24, 2025 · 2 comments
Open

Use libc pipe2 instead of raw pipe2 syscall on Linux #108

bjorn3 opened this issue Jan 24, 2025 · 2 comments

Comments

@bjorn3
Copy link
Member

bjorn3 commented Jan 24, 2025

The latter doesn't work in miri.

@NobodyXu
Copy link
Contributor

rust-lang/rust#127154 the anonymous pipe feature is going through stabilisation process now, if it is merged and debian trixie uses the latest rustc with it stablised, then we could save a lot of code

@hanna-kruppe
Copy link

std::io::pipe() is on track to be be stable in Rust 1.87 but Debian Trixie has entered "toolchain freeze" two weeks ago, which I believe prevents further rustc updates. On the bright side, Rust 1.85 is in Trixie. That includes the MSRV-aware resolver as well as the 2024 edition which makes the MSRV-aware resolver the default. Hopefully this makes a more liberal MSRV policy than "whatever Debian stable ships" acceptable -- those who need to support Debian stable won't have to actively fight Cargo to exclude newer versions of dependencies with higher MSRV.

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

No branches or pull requests

3 participants