]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #82686 - CDirkx:unix-platform, r=m-ou-se
authorDylan DPC <dylan.dpc@gmail.com>
Mon, 22 Mar 2021 01:20:28 +0000 (02:20 +0100)
committerGitHub <noreply@github.com>
Mon, 22 Mar 2021 01:20:28 +0000 (02:20 +0100)
commitc66d66e8d1212b4f2f19a6805e05e24b34f4bdae
treeb4b7c02b7ca33ce3cdf0a16fa2960b9e9bddea47
parentda143d38e4e47f53c4745a037563f34d7f3ea6e3
parent7539626c4aea0ff036a8d200c587f8ae2743d9bc
Rollup merge of #82686 - CDirkx:unix-platform, r=m-ou-se

Move `std::sys::unix::platform` to `std::sys::unix::ext`

This moves the operating system dependent alias `platform` (`std::os::{linux, android, ...}`) from `std::sys::unix` to `std::sys::unix::ext` (a.k.a. `std::os::unix`), removing the need for compatibility code in `unix_ext` when documenting on another platform.

This is also a step in making it possible to properly move `std::sys::unix::ext` to `std::os::unix`, as ideally `std::sys` should not depend on the rest of `std`.
library/std/src/sys/mod.rs