Skip to content

Commit 3a33a4b

Browse files
authored
Rollup merge of rust-lang#119935 - joboet:move_pal_personality, r=ChrisDenton
Move personality implementation out of PAL The module already follows the new convention described in rust-lang#117276. This PR also includes a small fix in the tidy pal check, that was just an oversight in rust-lang#117285.
2 parents 70bc26d + b8d996c commit 3a33a4b

File tree

9 files changed

+4
-3
lines changed

9 files changed

+4
-3
lines changed

Diff for: library/std/src/sys/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
/// descriptors.
44
mod pal;
55

6+
mod personality;
7+
68
// FIXME(117276): remove this, move feature implementations into individual
79
// submodules.
810
pub use pal::*;

Diff for: library/std/src/sys/pal/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#![allow(missing_debug_implementations)]
2424

2525
pub mod common;
26-
mod personality;
2726

2827
cfg_if::cfg_if! {
2928
if #[cfg(unix)] {
File renamed without changes.
File renamed without changes.

Diff for: src/tools/tidy/src/pal.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ const EXCEPTION_PATHS: &[&str] = &[
4646
// we must use `#[cfg(windows)]` to conditionally compile the
4747
// correct `VaList` structure for windows.
4848
"library/core/src/ffi/mod.rs",
49-
"library/std/src/sys/pal/", // Platform-specific code for std lives here.
50-
"library/std/src/os", // Platform-specific public interfaces
49+
"library/std/src/sys", // Platform-specific code for std lives here.
50+
"library/std/src/os", // Platform-specific public interfaces
5151
// Temporary `std` exceptions
5252
// FIXME: platform-specific code should be moved to `sys`
5353
"library/std/src/io/copy.rs",

0 commit comments

Comments
 (0)