about summary refs log tree commit diff
path: root/library/std/src/sys/pal/zkvm/args.rs
diff options
context:
space:
mode:
authorErik Kaneda <erik@risczero.com>2024-04-15 09:26:40 -0700
committerErik Kaneda <erik@risczero.com>2024-04-15 09:32:21 -0700
commitee0aea5f658953ca5d788d7526ea08428ea3e7da (patch)
treebd1544de0f9f91d63b486b1dbd955f6019ebbbf6 /library/std/src/sys/pal/zkvm/args.rs
parent84e729a59f216cc64755788a470f165429a731f4 (diff)
downloadrust-ee0aea5f658953ca5d788d7526ea08428ea3e7da.tar.gz
rust-ee0aea5f658953ca5d788d7526ea08428ea3e7da.zip
zkvm: fix references to `os_str` module
The `os_str` module has been moved to `sys`.
Diffstat (limited to 'library/std/src/sys/pal/zkvm/args.rs')
-rw-r--r--library/std/src/sys/pal/zkvm/args.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/zkvm/args.rs b/library/std/src/sys/pal/zkvm/args.rs
index 7753cf63840..583c16e3a47 100644
--- a/library/std/src/sys/pal/zkvm/args.rs
+++ b/library/std/src/sys/pal/zkvm/args.rs
@@ -1,6 +1,7 @@
 use super::{abi, WORD_SIZE};
 use crate::ffi::OsString;
 use crate::fmt;
+use crate::sys::os_str;
 use crate::sys_common::FromInner;
 
 pub struct Args {
@@ -33,7 +34,7 @@ impl Args {
         // "os_str".
         let arg_bytes: &[u8] =
             unsafe { crate::slice::from_raw_parts(words.cast() as *const u8, arg_len) };
-        OsString::from_inner(super::os_str::Buf { inner: arg_bytes.to_vec() })
+        OsString::from_inner(os_str::Buf { inner: arg_bytes.to_vec() })
     }
 }