rust/src/tools
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
..
build-manifest Auto merge of #135085 - knickish:m68k_unknown_none, r=workingjubilee 2025-01-06 05:23:55 +00:00
bump-stage0 move src/tools/build_helper into src/build_helper 2024-11-11 11:19:11 +03:00
cargo@0e3d73849a Update cargo 2025-02-01 16:26:46 -05:00
cargotest
clippy Auto merge of #136471 - safinaskar:parallel, r=SparrowLii 2025-02-06 10:50:05 +00:00
collect-license-metadata collect-license-metadata: move JSON to root, and add a 'check' mode 2024-11-25 14:14:57 +00:00
compiletest Rollup merge of #136441 - jieyouxu:cleanup-is-rustdoc, r=compiler-errors 2025-02-03 19:13:28 +08:00
coverage-dump coverage: Include the highest counter ID seen in .cov-map dumps 2024-10-11 21:04:37 +11:00
enzyme@0e5fa4a3d4 upstream rustc_codegen_ssa/rustc_middle changes for enzyme/autodiff 2025-01-29 21:31:13 -05:00
error_index_generator Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
features-status-dump features-status-dump: add new build-metrics tool 2025-01-26 14:45:05 +08:00
generate-copyright Ensure generate-copyright is executed from the project root. 2025-01-06 11:02:30 +00:00
generate-windows-sys
html-checker
jsondocck jsondoclint: Support //@ !has <path> <value>. 2025-01-10 23:51:45 +00:00
jsondoclint rustdoc-json: Rename Path::name to path, and give it path (again). 2025-01-22 19:29:48 +00:00
libcxx-version
linkchecker Add bstr files to linkchecker since they have a Deref to slice 2025-01-11 06:35:21 +02:00
lint-docs Un-spaghettify the control flow of generate_lint_output 2025-01-14 18:43:30 +00:00
lld-wrapper
llvm-bitcode-linker
miri Auto merge of #136471 - safinaskar:parallel, r=SparrowLii 2025-02-06 10:50:05 +00:00
miropt-test-tools Emit error on skip-filecheck test containing filecheck directives 2024-10-19 13:24:07 +00:00
nix-dev-shell chore: fix typos 2024-12-30 14:56:21 +07:00
opt-dist tests: Skip const OOM tests on aarch64-unknown-linux-gnu 2025-01-29 09:17:35 +00:00
remote-test-client
remote-test-server
replace-version-placeholder Include rustc and rustdoc book in replace-version-placeholder 2025-01-07 22:46:18 +01:00
rls
run-make-support run-make-support: add some stable rustc flag helpers 2025-02-01 16:14:36 +08:00
rust-analyzer Insert null checks for pointer dereferences when debug assertions are enabled 2025-01-31 11:13:34 +00:00
rust-installer Fix typos 2024-12-31 12:33:36 +08:00
rustbook Update mdbook to 0.4.44 2025-01-28 11:01:48 -08:00
rustc-perf@e22e08623a bump rustc-perf 2025-01-09 16:56:50 +00:00
rustc-perf-wrapper tools: fix build failure caused by PR #134420 2024-12-27 16:36:48 +08:00
rustdoc
rustdoc-gui Update browser-ui-test version to 0.20.2 2025-02-05 17:06:38 +01:00
rustdoc-gui-test move src/tools/build_helper into src/build_helper 2024-11-11 11:19:11 +03:00
rustdoc-js fix error for when results in a rustdoc-js test are in the wrong order 2025-01-16 12:10:38 -06:00
rustdoc-themes Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
rustfmt tree-wide: parallel: Fully removed all Lrc, replaced with Arc 2025-02-03 13:25:57 +03:00
suggest-tests Fix typos 2024-12-30 21:43:22 +08:00
tidy Rollup merge of #136536 - DuskyElf:master, r=jieyouxu 2025-02-05 19:09:37 +08:00
tier-check
unicode-table-generator update cfgs 2024-11-27 15:14:54 +00:00
unstable-book-gen Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
wasm-component-ld Update the wasm-component-ld tool 2025-01-21 15:22:01 -08:00
x
cherry-pick.sh
publish_toolstate.py Reformat Python code with ruff 2024-12-04 23:03:44 +01:00