Skip to content

Commit 90e11a2

Browse files
devsnekworkingjubilee
authored andcommitted
move personality to sys
1 parent 921f669 commit 90e11a2

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
@@ -58,8 +58,6 @@ const EXCEPTION_PATHS: &[&str] = &[
5858
"library/std/src/path.rs",
5959
"library/std/src/sys_common", // Should only contain abstractions over platforms
6060
"library/std/src/net/test.rs", // Utility helpers for tests
61-
"library/std/src/personality.rs",
62-
"library/std/src/personality/",
6361
];
6462

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

0 commit comments

Comments
 (0)