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
replace nix::pty::openpty with rustix_openpty::openpty #15834
I think it is OK to use as new dependency since rustix-openpty is owned by rustix's owner. But last update is 1 years ago.
Is it because the crate is trivial?:
Rustix was deliberately scoped to just "syscall-like" functions, leaving the task of wrapping higher-level functions that a typical libc provides to other libraries. If rustix exposes the needed syscalls on Linux, a separate library can implement openpty on top of it without needing access to any of rustix's raw-syscall internal mechanisms.
rustix-openpty is a pretty small library that does a constrained task, so it doesn't need many updates.
Activity
oech3 commentedon Oct 25, 2026
I think it is OK to use as new dependency since
rustix-openptyis owned byrustix's owner. But last update is 1 years ago.Is it because the crate is trivial?:
xtqqczze commentedon Oct 25, 2026
I've completed the implementation on a local branch. I just need to clean it up and run tests before opening a PR.
more,stty,nohupfail to compile #15827oech3 commentedon Nov 8, 2026
I am wondering why
rustixitself cannot wraplibc::openptyon other platforms. @sunfishcodesunfishcode commentedon Nov 10, 2026
Rustix was deliberately scoped to just "syscall-like" functions, leaving the task of wrapping higher-level functions that a typical
libcprovides to other libraries. If rustix exposes the needed syscalls on Linux, a separate library can implementopenptyon top of it without needing access to any of rustix's raw-syscall internal mechanisms.rustix-openpty is a pretty small library that does a constrained task, so it doesn't need many updates.
oech3 commentedon Nov 10, 2026
making as sense. Thankyou.