rust/library/core
Jubilee ac0a9c58e8
Rollup merge of #123042 - dpaoliello:prelude, r=Nilstrieb
Import the 2021 prelude in the core crate

The `core` crate currently imports the v1 prelude
b3df0d7e5e/library/core/src/lib.rs (L285-L287)

This recently caused an issue when updating the `portable-simd` subtree since it was using a trait that was added to the 2021 prelude: https://github.com/rust-lang/rust/pull/122905#discussion_r1536228822

To make it easier to have a consistent build environment for subtrees and submodules that get included in `core`, we will now import the 2021 prelude into `core`.

Fixes #122912

r? `@Nilstrieb`
2024-03-25 14:35:37 -07:00
..
benches Add benches for net parsing 2024-03-04 18:46:24 -05:00
src Rollup merge of #123042 - dpaoliello:prelude, r=Nilstrieb 2024-03-25 14:35:37 -07:00
tests step cfgs 2024-03-20 08:49:13 -04:00
Cargo.toml Import the 2021 prelude in the core crate 2024-03-25 13:12:06 -07:00