-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
std: move process implementations to sys
#136929
base: master
Are you sure you want to change the base?
Conversation
rustbot has assigned @Mark-Simulacrum. Use |
This comment has been minimized.
This comment has been minimized.
a3a3339
to
484706e
Compare
This comment has been minimized.
This comment has been minimized.
484706e
to
5ce9e2c
Compare
☔ The latest upstream changes (presumably #137046) made this pull request unmergeable. Please resolve the merge conflicts. |
5ce9e2c
to
fb1751f
Compare
☔ The latest upstream changes (presumably #137163) made this pull request unmergeable. Please resolve the merge conflicts. |
As per rust-lang#117276, this moves the implementations of `Process` and friends out of the `pal` module and into the `sys` module, removing quite a lot of error-prone `#[path]` imports in the process (hah, get it ;-)). I've also made the `zircon` module a dedicated submodule of `pal::unix`, hopefully we can move some other definitions there as well (they are currently quite a lot of duplications in `sys`). Also, the `ensure_no_nuls` function on Windows now lives in `sys::pal::windows` – it's not specific to processes and shared by the argument implementation.
fb1751f
to
26fd9bf
Compare
☔ The latest upstream changes (presumably #137446) made this pull request unmergeable. Please resolve the merge conflicts. |
As per #117276, this moves the implementations of
Process
and friends out of thepal
module and into thesys
module, removing quite a lot of error-prone#[path]
imports in the process (hah, get it ;-)). I've also made thezircon
module a dedicated submodule ofpal::unix
, hopefully we can move some other definitions there as well (they are currently quite a lot of duplications insys
). Also, theensure_no_nuls
function on Windows now lives insys::pal::windows
– it's not specific to processes and shared by the argument implementation.