about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-03-25 14:35:37 -0700
committerGitHub <noreply@github.com>2024-03-25 14:35:37 -0700
commitac0a9c58e801c9af903436749f1a8bc7cc19f8d8 (patch)
tree3a823ca30d144bd9f42cc0776cadef5f82bc9fe8 /compiler/rustc_codegen_llvm/src
parent2b13f944fbaaab0243fee124291d09632881505a (diff)
parentd261647c93380d5ed535c5ed2f176792f4d74d6c (diff)
downloadrust-ac0a9c58e801c9af903436749f1a8bc7cc19f8d8.tar.gz
rust-ac0a9c58e801c9af903436749f1a8bc7cc19f8d8.zip
Rollup merge of #123042 - dpaoliello:prelude, r=Nilstrieb
Import the 2021 prelude in the core crate

The `core` crate currently imports the v1 prelude
https://github.com/rust-lang/rust/blob/b3df0d7e5ef5f7dbeeca3fb289c65680ad013f87/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`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions