File tree 19 files changed +19
-46
lines changed
19 files changed +19
-46
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ mod personality;
7
7
8
8
pub mod cmath;
9
9
pub mod os_str;
10
+ pub mod path;
10
11
11
12
// FIXME(117276): remove this, move feature implementations into individual
12
13
// submodules.
Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ pub mod io;
28
28
pub mod memchr;
29
29
pub mod net;
30
30
pub mod os;
31
- #[ path = "../unix/path.rs" ]
32
- pub mod path;
33
31
#[ path = "../unsupported/pipe.rs" ]
34
32
pub mod pipe;
35
33
#[ path = "../unsupported/process.rs" ]
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ pub mod io;
22
22
pub mod memchr;
23
23
pub mod net;
24
24
pub mod os;
25
- pub mod path;
26
25
#[ path = "../unsupported/pipe.rs" ]
27
26
pub mod pipe;
28
27
#[ path = "../unsupported/process.rs" ]
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ pub mod fs;
29
29
pub mod io;
30
30
pub mod net;
31
31
pub mod os;
32
- pub mod path;
33
32
#[ path = "../unsupported/pipe.rs" ]
34
33
pub mod pipe;
35
34
#[ path = "../unsupported/process.rs" ]
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ pub mod net;
25
25
#[ path = "../unsupported/once.rs" ]
26
26
pub mod once;
27
27
pub mod os;
28
- #[ path = "../unix/path.rs" ]
29
- pub mod path;
30
28
#[ path = "../unsupported/pipe.rs" ]
31
29
pub mod pipe;
32
30
#[ path = "../unsupported/process.rs" ]
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ pub mod net;
26
26
#[ path = "../unsupported/once.rs" ]
27
27
pub mod once;
28
28
pub mod os;
29
- pub mod path;
30
29
#[ path = "../unsupported/pipe.rs" ]
31
30
pub mod pipe;
32
31
#[ path = "../unsupported/process.rs" ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ pub mod net;
27
27
#[ cfg( target_os = "l4re" ) ]
28
28
pub use self :: l4re:: net;
29
29
pub mod os;
30
- pub mod path;
31
30
pub mod pipe;
32
31
pub mod process;
33
32
pub mod rand;
Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ pub mod locks;
9
9
pub mod net;
10
10
pub mod once;
11
11
pub mod os;
12
- #[ path = "../unix/path.rs" ]
13
- pub mod path;
14
12
pub mod pipe;
15
13
pub mod process;
16
14
pub mod stdio;
Original file line number Diff line number Diff line change @@ -30,8 +30,6 @@ pub mod io;
30
30
31
31
pub mod net;
32
32
pub mod os;
33
- #[ path = "../unix/path.rs" ]
34
- pub mod path;
35
33
#[ path = "../unsupported/pipe.rs" ]
36
34
pub mod pipe;
37
35
#[ path = "../unsupported/process.rs" ]
Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ pub mod io;
28
28
pub mod net;
29
29
#[ path = "../unsupported/os.rs" ]
30
30
pub mod os;
31
- #[ path = "../unix/path.rs" ]
32
- pub mod path;
33
31
#[ path = "../unsupported/pipe.rs" ]
34
32
pub mod pipe;
35
33
#[ path = "../unsupported/process.rs" ]
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ pub mod locks;
23
23
pub mod memchr;
24
24
pub mod net;
25
25
pub mod os;
26
- pub mod path;
27
26
pub mod pipe;
28
27
pub mod process;
29
28
pub mod rand;
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ pub mod io;
12
12
pub mod locks;
13
13
pub mod net;
14
14
pub mod os;
15
- #[ path = "../unix/path.rs" ]
16
- pub mod path;
17
15
#[ path = "../unsupported/pipe.rs" ]
18
16
pub mod pipe;
19
17
#[ path = "../unsupported/process.rs" ]
Original file line number Diff line number Diff line change @@ -24,10 +24,6 @@ pub mod net;
24
24
#[ path = "../unsupported/once.rs" ]
25
25
pub mod once;
26
26
pub mod os;
27
- #[ path = "../unix/os_str.rs" ]
28
- pub mod os_str;
29
- #[ path = "../unix/path.rs" ]
30
- pub mod path;
31
27
#[ path = "../unsupported/pipe.rs" ]
32
28
pub mod pipe;
33
29
#[ path = "../unsupported/process.rs" ]
Original file line number Diff line number Diff line change
1
+ cfg_if:: cfg_if! {
2
+ if #[ cfg( target_os = "windows" ) ] {
3
+ mod windows;
4
+ pub use windows:: * ;
5
+ } else if #[ cfg( all( target_vendor = "fortanix" , target_env = "sgx" ) ) ] {
6
+ mod sgx;
7
+ pub use sgx:: * ;
8
+ } else if #[ cfg( any(
9
+ target_os = "uefi" ,
10
+ target_os = "solid_asp3" ,
11
+ ) ) ] {
12
+ mod unsupported_backslash;
13
+ pub use unsupported_backslash:: * ;
14
+ } else {
15
+ mod unix;
16
+ pub use unix:: * ;
17
+ }
18
+ }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments