diff options
| author | Thalia Archibald <thalia@archibald.dev> | 2025-04-12 02:26:17 -0700 |
|---|---|---|
| committer | Thalia Archibald <thalia@archibald.dev> | 2025-04-12 03:10:21 -0700 |
| commit | 6ffebb65d6daf4fcc82cfc7fd14397bff98df1f2 (patch) | |
| tree | a0cf46afbbf6c9c39cd249a175520e2f5fe594bb /library/std/src/sys/pal/unix/mod.rs | |
| parent | 1bc56185ee257ed829a0aea7abdc3b03c5fed887 (diff) | |
| download | rust-6ffebb65d6daf4fcc82cfc7fd14397bff98df1f2.tar.gz rust-6ffebb65d6daf4fcc82cfc7fd14397bff98df1f2.zip | |
Move args into std::sys
Diffstat (limited to 'library/std/src/sys/pal/unix/mod.rs')
| -rw-r--r-- | library/std/src/sys/pal/unix/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/sys/pal/unix/mod.rs b/library/std/src/sys/pal/unix/mod.rs index d7106c33974..20078839a14 100644 --- a/library/std/src/sys/pal/unix/mod.rs +++ b/library/std/src/sys/pal/unix/mod.rs @@ -6,7 +6,6 @@ use crate::io::ErrorKind; #[macro_use] pub mod weak; -pub mod args; pub mod env; #[cfg(target_os = "fuchsia")] pub mod fuchsia; @@ -47,7 +46,7 @@ pub unsafe fn init(argc: isize, argv: *const *const u8, sigpipe: u8) { reset_sigpipe(sigpipe); stack_overflow::init(); - args::init(argc, argv); + crate::sys::args::init(argc, argv); // Normally, `thread::spawn` will call `Thread::set_name` but since this thread // already exists, we have to call it ourselves. We only do this on Apple targets |
