Rollup merge of #119935 - joboet:move_pal_personality, r=ChrisDenton

Move personality implementation out of PAL

The module already follows the new convention described in #117276. This PR also includes a small fix in the tidy pal check, that was just an oversight in #117285.
This commit is contained in:
Matthias Krüger 2024-01-13 22:35:09 +01:00 committed by GitHub
commit 3a33a4b8f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,8 @@
/// descriptors.
mod pal;
mod personality;
// FIXME(117276): remove this, move feature implementations into individual
// submodules.
pub use pal::*;

View File

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

View File

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