about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-07-29 18:55:20 -0400
committerGitHub <noreply@github.com>2025-07-29 18:55:20 -0400
commit0912d66c7f98cac00483bad44495bc5411d8ca30 (patch)
treecc50401c3cfa24213506a54bbe51a3babd240554 /compiler/rustc_parse/src
parent79ad87e7eeb6117cd95bb8fe261b23f5a97761bd (diff)
parentc39b4479ce6f33604000b9ffdc91d2e8e115cb41 (diff)
downloadrust-0912d66c7f98cac00483bad44495bc5411d8ca30.tar.gz
rust-0912d66c7f98cac00483bad44495bc5411d8ca30.zip
Rollup merge of #144605 - LorrensP-2158466:cache-extern-prelude, r=petrochenkov
Resolve: cachify `ExternPreludeEntry.binding` through a `Cell`

Provides interior mutability to the `binding` field of `ExternPreludeEntry` as this field behaves like a cache. Per [zulip thread](https://rust-lang.zulipchat.com/#narrow/channel/421156-gsoc/topic/Project.3A.20Parallel.20Macro.20Expansion/near/531390914).

A little preparatory work for batched import resolution, which is part of [#gsoc > Project: Parallel Macro Expansion](https://rust-lang.zulipchat.com/#narrow/channel/421156-gsoc/topic/Project.3A.20Parallel.20Macro.20Expansion).

r? `@petrochenkov`
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions