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:
commit
3a33a4b8f5
@ -3,6 +3,8 @@
|
|||||||
/// descriptors.
|
/// descriptors.
|
||||||
mod pal;
|
mod pal;
|
||||||
|
|
||||||
|
mod personality;
|
||||||
|
|
||||||
// FIXME(117276): remove this, move feature implementations into individual
|
// FIXME(117276): remove this, move feature implementations into individual
|
||||||
// submodules.
|
// submodules.
|
||||||
pub use pal::*;
|
pub use pal::*;
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#![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)] {
|
||||||
|
@ -46,8 +46,8 @@ const EXCEPTION_PATHS: &[&str] = &[
|
|||||||
// we must use `#[cfg(windows)]` to conditionally compile the
|
// we must use `#[cfg(windows)]` to conditionally compile the
|
||||||
// correct `VaList` structure for windows.
|
// correct `VaList` structure for windows.
|
||||||
"library/core/src/ffi/mod.rs",
|
"library/core/src/ffi/mod.rs",
|
||||||
"library/std/src/sys/pal/", // Platform-specific code for std lives here.
|
"library/std/src/sys", // Platform-specific code for std lives here.
|
||||||
"library/std/src/os", // Platform-specific public interfaces
|
"library/std/src/os", // Platform-specific public interfaces
|
||||||
// Temporary `std` exceptions
|
// Temporary `std` exceptions
|
||||||
// FIXME: platform-specific code should be moved to `sys`
|
// FIXME: platform-specific code should be moved to `sys`
|
||||||
"library/std/src/io/copy.rs",
|
"library/std/src/io/copy.rs",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user