rust/compiler
bors 6e23095adf Auto merge of #140145 - Zoxc:job-server-proxy, r=SparrowLii
Add a jobserver proxy to ensure at least one token is always held

This adds a jobserver proxy to ensure at least one token is always held by `rustc`. Currently with `-Z threads` `rustc` can temporarily give up all its tokens, causing `cargo` to spawn additional `rustc` instances beyond the job limit.

The current behavior causes an issue with `cargo fix` which has a global lock preventing concurrent `rustc` instances, but it also holds a jobserver token, causing a deadlock when `rustc` gives up its token. That is fixed by this PR.

Fixes https://github.com/rust-lang/rust/issues/67385.
Fixes https://github.com/rust-lang/rust/issues/133873.
Fixes https://github.com/rust-lang/rust/issues/140093.
2025-05-01 04:11:52 +00:00
..
rustc
rustc_abi
rustc_arena
rustc_ast ast: Remove token visiting from AST visitor 2025-04-30 10:36:03 +03:00
rustc_ast_ir
rustc_ast_lowering Auto merge of #121909 - Zoxc:drop-ast-task, r=petrochenkov 2025-04-30 23:57:22 +00:00
rustc_ast_passes
rustc_ast_pretty Rollup merge of #140312 - nnethercote:DelimArgs-spacing, r=petrochenkov 2025-04-30 10:18:26 +02:00
rustc_attr_data_structures
rustc_attr_parsing Simplify LazyAttrTokenStream. 2025-04-30 07:10:56 +10:00
rustc_baked_icu_data
rustc_borrowck AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}, scoped async drop added. 2025-04-28 16:23:13 +07:00
rustc_builtin_macros Rollup merge of #140312 - nnethercote:DelimArgs-spacing, r=petrochenkov 2025-04-30 10:18:26 +02:00
rustc_codegen_cranelift Rollup merge of #134232 - bjorn3:naked_asm_improvements, r=wesleywiser 2025-04-30 17:27:57 +02:00
rustc_codegen_gcc Rollup merge of #134232 - bjorn3:naked_asm_improvements, r=wesleywiser 2025-04-30 17:27:57 +02:00
rustc_codegen_llvm Rollup merge of #134232 - bjorn3:naked_asm_improvements, r=wesleywiser 2025-04-30 17:27:57 +02:00
rustc_codegen_ssa Rollup merge of #140203 - Wyliodrin:error_for_no_mangle_weak_language_items, r=bjorn3 2025-04-30 17:27:59 +02:00
rustc_const_eval Rollup merge of #140439 - RalfJung:miri-algebraic-float-nondet, r=oli-obk 2025-04-30 10:18:28 +02:00
rustc_data_structures Auto merge of #140145 - Zoxc:job-server-proxy, r=SparrowLii 2025-05-01 04:11:52 +00:00
rustc_driver
rustc_driver_impl
rustc_error_codes
rustc_error_messages
rustc_errors
rustc_expand Rollup merge of #140450 - petrochenkov:vistok, r=nnethercote 2025-04-30 17:28:00 +02:00
rustc_feature Rollup merge of #140323 - tgross35:cfg-unstable-float, r=Urgau 2025-04-28 23:29:17 +00:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hashes
rustc_hir Auto merge of #127516 - nnethercote:simplify-LazyAttrTokenStream, r=petrochenkov 2025-04-30 00:09:21 +00:00
rustc_hir_analysis Rollup merge of #139909 - oli-obk:or-patterns, r=BoxyUwU 2025-04-29 12:28:22 -04:00
rustc_hir_pretty Rollup merge of #140312 - nnethercote:DelimArgs-spacing, r=petrochenkov 2025-04-30 10:18:26 +02:00
rustc_hir_typeck Rollup merge of #140468 - BoxyUwU:normalization_confusings2, r=lcnr 2025-04-30 22:36:41 +02:00
rustc_incremental
rustc_index
rustc_index_macros
rustc_infer Rollup merge of #140249 - BoxyUwU:remove_weak_alias_terminology, r=oli-obk 2025-04-28 13:30:45 +02:00
rustc_interface Auto merge of #140145 - Zoxc:job-server-proxy, r=SparrowLii 2025-05-01 04:11:52 +00:00
rustc_lexer
rustc_lint Rollup merge of #140090 - Urgau:snake_case-fn-var, r=petrochenkov 2025-04-30 17:27:58 +02:00
rustc_lint_defs Update lint-docs to default to Rust 2024 2025-04-26 14:08:58 -07:00
rustc_llvm Rollup merge of #140400 - durin42:llvm-21-getguid, r=cuviper 2025-04-29 12:28:24 -04:00
rustc_log
rustc_macros Rename rustc_query_append! to rustc_with_all_queries! 2025-04-29 20:48:51 +10:00
rustc_metadata
rustc_middle Auto merge of #140145 - Zoxc:job-server-proxy, r=SparrowLii 2025-05-01 04:11:52 +00:00
rustc_mir_build Rollup merge of #140022 - dianne:box-deref-pats, r=Nadrieril 2025-04-28 23:29:15 +00:00
rustc_mir_dataflow AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}, scoped async drop added. 2025-04-28 16:23:13 +07:00
rustc_mir_transform Rollup merge of #140458 - azhogin:azhogin/async-drop-fix-dropped-tuple-ice, r=oli-obk 2025-04-30 22:36:39 +02:00
rustc_monomorphize AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}, scoped async drop added. 2025-04-28 16:23:13 +07:00
rustc_next_trait_solver Treat ManuallyDrop as ~const Destruct 2025-04-29 10:39:54 +00:00
rustc_parse Rollup merge of #140494 - ehuss:document-restrictions, r=traviscross,SparrowLii 2025-04-30 22:36:44 +02:00
rustc_parse_format
rustc_passes Auto merge of #123948 - azhogin:azhogin/async-drop, r=oli-obk 2025-04-28 14:14:26 +00:00
rustc_pattern_analysis
rustc_privacy Rollup merge of #140249 - BoxyUwU:remove_weak_alias_terminology, r=oli-obk 2025-04-28 13:30:45 +02:00
rustc_query_impl Auto merge of #140145 - Zoxc:job-server-proxy, r=SparrowLii 2025-05-01 04:11:52 +00:00
rustc_query_system Add some comments 2025-04-29 12:04:33 +02:00
rustc_resolve Auto merge of #127516 - nnethercote:simplify-LazyAttrTokenStream, r=petrochenkov 2025-04-30 00:09:21 +00:00
rustc_sanitizers
rustc_serialize
rustc_session Rollup merge of #140323 - tgross35:cfg-unstable-float, r=Urgau 2025-04-28 23:29:17 +00:00
rustc_smir Rollup merge of #139909 - oli-obk:or-patterns, r=BoxyUwU 2025-04-29 12:28:22 -04:00
rustc_span Rollup merge of #140323 - tgross35:cfg-unstable-float, r=Urgau 2025-04-28 23:29:17 +00:00
rustc_symbol_mangling Rollup merge of #139909 - oli-obk:or-patterns, r=BoxyUwU 2025-04-29 12:28:22 -04:00
rustc_target Replace the \01__gnu_mcount_nc to LLVM intrinsic for additional ARM targets 2025-04-29 08:15:23 +02:00
rustc_trait_selection Rollup merge of #140468 - BoxyUwU:normalization_confusings2, r=lcnr 2025-04-30 22:36:41 +02:00
rustc_traits
rustc_transmute transmutability: ensure_sufficient_stack when answering query 2025-04-30 12:06:14 +02:00
rustc_ty_utils Rollup merge of #139909 - oli-obk:or-patterns, r=BoxyUwU 2025-04-29 12:28:22 -04:00
rustc_type_ir canonical no type foldable :< 2025-04-29 23:17:31 +00:00
rustc_type_ir_macros
stable_mir