Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 434f080

Browse files
authored
Rollup merge of rust-lang#120776 - joboet:move_pal_path, r=ChrisDenton
Move path implementations into `sys` Part of rust-lang#117276. r? `@ChrisDenton`
2 parents 99bafad + c0d9776 commit 434f080

File tree

21 files changed

+24
-51
lines changed

21 files changed

+24
-51
lines changed

library/std/src/sys/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ mod personality;
77

88
pub mod cmath;
99
pub mod os_str;
10+
pub mod path;
1011

1112
// FIXME(117276): remove this, move feature implementations into individual
1213
// submodules.

library/std/src/sys/pal/hermit/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ pub mod io;
2828
pub mod memchr;
2929
pub mod net;
3030
pub mod os;
31-
#[path = "../unix/path.rs"]
32-
pub mod path;
3331
#[path = "../unsupported/pipe.rs"]
3432
pub mod pipe;
3533
#[path = "../unsupported/process.rs"]

library/std/src/sys/pal/sgx/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ pub mod io;
2222
pub mod memchr;
2323
pub mod net;
2424
pub mod os;
25-
pub mod path;
2625
#[path = "../unsupported/pipe.rs"]
2726
pub mod pipe;
2827
#[path = "../unsupported/process.rs"]

library/std/src/sys/pal/solid/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ pub mod fs;
2929
pub mod io;
3030
pub mod net;
3131
pub mod os;
32-
pub mod path;
3332
#[path = "../unsupported/pipe.rs"]
3433
pub mod pipe;
3534
#[path = "../unsupported/process.rs"]

library/std/src/sys/pal/teeos/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ pub mod net;
2525
#[path = "../unsupported/once.rs"]
2626
pub mod once;
2727
pub mod os;
28-
#[path = "../unix/path.rs"]
29-
pub mod path;
3028
#[path = "../unsupported/pipe.rs"]
3129
pub mod pipe;
3230
#[path = "../unsupported/process.rs"]

library/std/src/sys/pal/uefi/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ pub mod net;
2626
#[path = "../unsupported/once.rs"]
2727
pub mod once;
2828
pub mod os;
29-
pub mod path;
3029
#[path = "../unsupported/pipe.rs"]
3130
pub mod pipe;
3231
#[path = "../unsupported/process.rs"]

library/std/src/sys/pal/uefi/path.rs

Lines changed: 0 additions & 25 deletions
This file was deleted.

library/std/src/sys/pal/unix/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ pub mod net;
2727
#[cfg(target_os = "l4re")]
2828
pub use self::l4re::net;
2929
pub mod os;
30-
pub mod path;
3130
pub mod pipe;
3231
pub mod process;
3332
pub mod rand;

library/std/src/sys/pal/unsupported/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ pub mod locks;
99
pub mod net;
1010
pub mod once;
1111
pub mod os;
12-
#[path = "../unix/path.rs"]
13-
pub mod path;
1412
pub mod pipe;
1513
pub mod process;
1614
pub mod stdio;

library/std/src/sys/pal/wasi/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ pub mod io;
3030

3131
pub mod net;
3232
pub mod os;
33-
#[path = "../unix/path.rs"]
34-
pub mod path;
3533
#[path = "../unsupported/pipe.rs"]
3634
pub mod pipe;
3735
#[path = "../unsupported/process.rs"]

0 commit comments

Comments
 (0)