Auto merge of #117285 - joboet:move_platforms_to_pal, r=ChrisDenton

Move platform modules into `sys::pal`

This is the initial step of #117276. `sys` just re-exports everything from the current `sys` for now, I'll move the implementations for the individual features one-by-one after this PR merges.
This commit is contained in:
bors 2024-01-13 14:10:56 +00:00
commit 1d8d7b16cb
280 changed files with 214 additions and 208 deletions

View file

@ -1,7 +1,7 @@
//! NOTE: Keep these constants in sync with `library/std/src/sys/unix/mod.rs`!
//! NOTE: Keep these constants in sync with `library/std/src/sys/pal/unix/mod.rs`!
/// The default value if `#[unix_sigpipe]` is not specified. This resolves
/// to `SIG_IGN` in `library/std/src/sys/unix/mod.rs`.
/// to `SIG_IGN` in `library/std/src/sys/pal/unix/mod.rs`.
///
/// Note that `SIG_IGN` has been the Rust default since 2014. See
/// <https://github.com/rust-lang/rust/issues/62569>.