about summary refs log tree commit diff
path: root/library/std/src/sys/mod.rs
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2025-02-12 16:26:34 +0100
committerjoboet <jonasboettiger@icloud.com>2025-03-22 12:42:34 +0100
commit89f85cbfa7e508e55f2f05c00356b6d430c55c4e (patch)
tree5bc245e760b7f82273237ae0c5285fc1d09db1a6 /library/std/src/sys/mod.rs
parentdb687889a5833381b8b02738a1af93a09a97ba16 (diff)
downloadrust-89f85cbfa7e508e55f2f05c00356b6d430c55c4e.tar.gz
rust-89f85cbfa7e508e55f2f05c00356b6d430c55c4e.zip
std: move process implementations to `sys`
As per #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.
Diffstat (limited to 'library/std/src/sys/mod.rs')
-rw-r--r--library/std/src/sys/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/mod.rs b/library/std/src/sys/mod.rs
index 09677b9d642..f0cfb9b2773 100644
--- a/library/std/src/sys/mod.rs
+++ b/library/std/src/sys/mod.rs
@@ -17,6 +17,7 @@ pub mod io;
 pub mod net;
 pub mod os_str;
 pub mod path;
+pub mod process;
 pub mod random;
 pub mod stdio;
 pub mod sync;