Skip to content

Commit

Permalink
Auto merge of #108796 - devsnek:personality-pal-exception, r=workingj…
Browse files Browse the repository at this point in the history
…ubilee

move personality to sys

this moves `personality` to sys, removing another PAL exception
  • Loading branch information
bors committed Jul 10, 2023
2 parents 71f71a5 + 90e11a2 commit 743333f
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion library/std/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,6 @@ pub mod alloc;

// Private support modules
mod panicking;
mod personality;

#[path = "../../backtrace/src/lib.rs"]
#[allow(dead_code, unused_attributes, fuzzy_provenance_casts)]
Expand Down
1 change: 1 addition & 0 deletions library/std/src/sys/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#![allow(missing_debug_implementations)]

pub mod common;
mod personality;

cfg_if::cfg_if! {
if #[cfg(unix)] {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions src/tools/tidy/src/pal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ const EXCEPTION_PATHS: &[&str] = &[
"library/std/src/path.rs",
"library/std/src/sys_common", // Should only contain abstractions over platforms
"library/std/src/net/test.rs", // Utility helpers for tests
"library/std/src/personality.rs",
"library/std/src/personality/",
];

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

0 comments on commit 743333f

Please sign in to comment.