File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
//! This tests the `Integer::{ilog,log2,log10}` methods. These tests are in a
2
2
//! separate file because there's both a large number of them, and not all tests
3
3
//! can be run on Android. This is because in Android `ilog2` uses an imprecise
4
- //! approximation:https://github.com/rust-lang/rust/blob/4825e12fc9c79954aa0fe18f5521efa6c19c7539/src/libstd/sys/unix/android.rs#L27-L53
4
+ //! approximation:https://github.com/rust-lang/rust/blob/4825e12fc9c79954aa0fe18f5521efa6c19c7539/src/libstd/sys/pal/ unix/android.rs#L27-L53
5
5
6
6
#[ test]
7
7
fn checked_ilog ( ) {
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ pub fn cvt_gai(err: c_int) -> io::Result<()> {
68
68
}
69
69
}
70
70
71
- /// Just to provide the same interface as sys/unix/net.rs
71
+ /// Just to provide the same interface as sys/pal/ unix/net.rs
72
72
pub fn cvt_r < T , F > ( mut f : F ) -> io:: Result < T >
73
73
where
74
74
T : IsMinusOne ,
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ pub fn env() -> Env {
209
209
return Env { iter : result. into_iter ( ) } ;
210
210
}
211
211
212
- // See src/libstd/sys/unix/os.rs, same as that
212
+ // See src/libstd/sys/pal/ unix/os.rs, same as that
213
213
fn parse ( input : & [ u8 ] ) -> Option < ( OsString , OsString ) > {
214
214
if input. is_empty ( ) {
215
215
return None ;
Original file line number Diff line number Diff line change 27
27
//! This module must only depend on core and not on std types as the eventual
28
28
//! hope is to have std depend on sys and not the other way around.
29
29
//! However, some amount of glue code may currently be necessary so such code
30
- //! should go in sys/windows/mod.rs rather than here. See `IoResult` as an example.
30
+ //! should go in sys/pal/ windows/mod.rs rather than here. See `IoResult` as an example.
31
31
32
32
use core:: ffi:: c_void;
33
33
use core:: ptr:: addr_of;
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ pub fn cvt_gai(err: c_int) -> io::Result<()> {
90
90
if err == 0 { Ok ( ( ) ) } else { Err ( last_error ( ) ) }
91
91
}
92
92
93
- /// Just to provide the same interface as sys/unix/net.rs
93
+ /// Just to provide the same interface as sys/pal/ unix/net.rs
94
94
pub fn cvt_r < T , F > ( mut f : F ) -> io:: Result < T >
95
95
where
96
96
T : IsMinusOne ,
You can’t perform that action at this time.
0 commit comments