about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-17 10:41:44 +0200
committerGitHub <noreply@github.com>2025-07-17 10:41:44 +0200
commit52a405b6c98d02d64562f2b602e8f6a29aebca5b (patch)
tree508c1ff7f10d47adf9693562dbd45303195f1078 /compiler/rustc_codegen_gcc/example/std_example.rs
parent14b6ac4d6d4fde01c3a4cc36023d1a3929729cbe (diff)
parent6849f816b1c908b446698a08b5cd27d258bad073 (diff)
downloadrust-52a405b6c98d02d64562f2b602e8f6a29aebca5b.tar.gz
rust-52a405b6c98d02d64562f2b602e8f6a29aebca5b.zip
Rollup merge of #143550 - petrochenkov:lessmutres, r=lcnr
resolve: Use interior mutability for extern module map

Module map for extern modules is a lazily populated cache, it's not *significantly* mutable.
If some logic in name resolver is parallelized, then this cache can be populated from any thread, and without affecting results of any speculative resolution.

Unblocks https://github.com/rust-lang/rust/pull/143884.
This is a part of [#gsoc > Project: Parallel Macro Expansion](https://rust-lang.zulipchat.com/#narrow/channel/421156-gsoc/topic/Project.3A.20Parallel.20Macro.20Expansion/with/527348747).
cc `@LorrensP-2158466`
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions