rust/compiler/rustc_codegen_gcc/src
bors 2f92f050e8 Auto merge of #136471 - safinaskar:parallel, r=SparrowLii
tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`

tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`

This is continuation of https://github.com/rust-lang/rust/pull/132282 .

I'm pretty sure I did everything right. In particular, I searched all occurrences of `Lrc` in submodules and made sure that they don't need replacement.

There are other possibilities, through.

We can define `enum Lrc<T> { Rc(Rc<T>), Arc(Arc<T>) }`. Or we can make `Lrc` a union and on every clone we can read from special thread-local variable. Or we can add a generic parameter to `Lrc` and, yes, this parameter will be everywhere across all codebase.

So, if you think we should take some alternative approach, then don't merge this PR. But if it is decided to stick with `Arc`, then, please, merge.

cc "Parallel Rustc Front-end" ( https://github.com/rust-lang/rust/issues/113349 )

r? SparrowLii

`@rustbot` label WG-compiler-parallel
2025-02-06 10:50:05 +00:00
..
back Merge commit '59a81c2ca1' into subtree-update_cg_gcc_2025_01_12 2025-01-13 10:53:58 -05:00
intrinsic cg_gcc: Directly use rustc_abi instead of reexports 2025-02-04 22:31:56 -08:00
abi.rs cg_gcc: Directly use rustc_abi instead of reexports 2025-02-04 22:31:56 -08:00
allocator.rs Merge commit '59a81c2ca1' into subtree-update_cg_gcc_2025_01_12 2025-01-13 10:53:58 -05:00
asm.rs codegen #[naked] functions using global_asm! 2024-12-10 21:41:03 +01:00
attributes.rs mir_transform: implement forced inlining 2025-01-10 18:37:54 +00:00
base.rs Merge commit '59a81c2ca1' into subtree-update_cg_gcc_2025_01_12 2025-01-13 10:53:58 -05:00
builder.rs cg_gcc: Directly use rustc_abi instead of reexports 2025-02-04 22:31:56 -08:00
callee.rs Merge commit '59a81c2ca1' into subtree-update_cg_gcc_2025_01_12 2025-01-13 10:53:58 -05:00
common.rs Do not treat vtable supertraits as distinct when bound with different bound vars 2025-01-30 15:33:58 +00:00
consts.rs cg_gcc: Directly use rustc_abi instead of reexports 2025-02-04 22:31:56 -08:00
context.rs cg_gcc: Directly use rustc_abi instead of reexports 2025-02-04 22:31:56 -08:00
coverageinfo.rs Unbox and unwrap the contents of StatementKind::Coverage 2024-03-23 22:05:11 +11:00
debuginfo.rs Auto merge of #136471 - safinaskar:parallel, r=SparrowLii 2025-02-06 10:50:05 +00:00
declare.rs cg_gcc: Directly use rustc_abi instead of reexports 2025-02-04 22:31:56 -08:00
errors.rs Merge commit '59a81c2ca1' into subtree-update_cg_gcc_2025_01_12 2025-01-13 10:53:58 -05:00
gcc_util.rs ABI-required target features: warn when they are missing in base CPU (rather than silently enabling them) 2025-01-28 04:40:42 +01:00
int.rs cg_gcc: Directly use rustc_abi instead of reexports 2025-02-04 22:31:56 -08:00
lib.rs ABI-required target features: warn when they are missing in base CPU (rather than silently enabling them) 2025-01-28 04:40:42 +01:00
mono_item.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
type_.rs cg_gcc: Directly use rustc_abi instead of reexports 2025-02-04 22:31:56 -08:00
type_of.rs cg_gcc: Directly use rustc_abi instead of reexports 2025-02-04 22:31:56 -08:00