Skip to content

Commit 743333f

Browse files
committed
Auto merge of #108796 - devsnek:personality-pal-exception, r=workingjubilee
move personality to sys this moves `personality` to sys, removing another PAL exception
2 parents 71f71a5 + 90e11a2 commit 743333f

File tree

9 files changed

+1
-3
lines changed

9 files changed

+1
-3
lines changed

library/std/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,6 @@ pub mod alloc;
603603

604604
// Private support modules
605605
mod panicking;
606-
mod personality;
607606

608607
#[path = "../../backtrace/src/lib.rs"]
609608
#[allow(dead_code, unused_attributes, fuzzy_provenance_casts)]

library/std/src/sys/mod.rs

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

2525
pub mod common;
26+
mod personality;
2627

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

src/tools/tidy/src/pal.rs

-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ const EXCEPTION_PATHS: &[&str] = &[
5656
"library/std/src/path.rs",
5757
"library/std/src/sys_common", // Should only contain abstractions over platforms
5858
"library/std/src/net/test.rs", // Utility helpers for tests
59-
"library/std/src/personality.rs",
60-
"library/std/src/personality/",
6159
];
6260

6361
pub fn check(path: &Path, bad: &mut bool) {

0 commit comments

Comments
 (0)