move personality to sys

This commit is contained in:
Gus Caplan 2023-03-05 18:21:07 -08:00 committed by Jubilee Young
parent 921f669749
commit 90e11a2a58
9 changed files with 1 additions and 3 deletions

View File

@ -603,7 +603,6 @@ pub mod alloc;
// Private support modules // Private support modules
mod panicking; mod panicking;
mod personality;
#[path = "../../backtrace/src/lib.rs"] #[path = "../../backtrace/src/lib.rs"]
#[allow(dead_code, unused_attributes, fuzzy_provenance_casts)] #[allow(dead_code, unused_attributes, fuzzy_provenance_casts)]

View File

@ -23,6 +23,7 @@
#![allow(missing_debug_implementations)] #![allow(missing_debug_implementations)]
pub mod common; pub mod common;
mod personality;
cfg_if::cfg_if! { cfg_if::cfg_if! {
if #[cfg(unix)] { if #[cfg(unix)] {

View File

@ -58,8 +58,6 @@ const EXCEPTION_PATHS: &[&str] = &[
"library/std/src/path.rs", "library/std/src/path.rs",
"library/std/src/sys_common", // Should only contain abstractions over platforms "library/std/src/sys_common", // Should only contain abstractions over platforms
"library/std/src/net/test.rs", // Utility helpers for tests "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) { pub fn check(path: &Path, bad: &mut bool) {