File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
library/std/src/sys/pal/zkvm Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1- use super :: { WORD_SIZE , abi} ;
21use crate :: ffi:: OsString ;
32use crate :: fmt;
4- use crate :: sys:: os_str;
5- use crate :: sys_common:: FromInner ;
63
74pub struct Args {
85 i_forward : usize ,
@@ -16,7 +13,7 @@ pub fn args() -> Args {
1613
1714impl Args {
1815 /// Args::argv is currently not implemented.
19- fn argv ( i : usize ) -> OsString {
16+ fn argv ( _i : usize ) -> OsString {
2017 panic ! ( "Args::argv is currently not implemented" ) ;
2118 }
2219}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ impl Stdin {
1313}
1414
1515impl io:: Read for Stdin {
16- fn read ( & mut self , buf : & mut [ u8 ] ) -> io:: Result < usize > {
16+ fn read ( & mut self , _buf : & mut [ u8 ] ) -> io:: Result < usize > {
1717 return Err ( io:: Error :: new (
1818 io:: ErrorKind :: Other ,
1919 "io::Read for Stdin is currently not implemented" ,
You can’t perform that action at this time.
0 commit comments