rust/compiler/rustc_middle/src/ty
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
..
consts Improve docs of ValTreeKind 2025-04-01 10:50:02 +02:00
context Represent diagnostic side effects as dep nodes 2025-03-14 16:01:58 +01:00
inhabitedness Remove weak alias terminology 2025-04-24 11:59:20 +01:00
print Rollup merge of #140249 - BoxyUwU:remove_weak_alias_terminology, r=oli-obk 2025-04-28 13:30:45 +02:00
abstract_const.rs Clean up trivial traversal/lift impl generator macro calls. 2025-02-06 13:31:43 +11:00
adjustment.rs Rollup merge of #138528 - dianne:implicit-deref-patterns, r=Nadrieril 2025-04-18 05:16:28 +02:00
adt.rs Re-remove AdtFlags::IS_ANONYMOUS 2025-04-18 21:40:53 -04:00
assoc.rs Update docs for AssocItems::filter_by_name_unhygienic 2025-04-19 21:06:52 +02:00
cast.rs Simplify intra-crate qualifiers. 2025-02-11 14:59:13 +11:00
closure.rs Move methods from Map to TyCtxt, part 5. 2025-04-02 10:00:46 +11:00
codec.rs Add or-patterns to pattern types 2025-04-28 07:50:18 +00:00
consts.rs Move FlagComputation, PatternKind, and TypeWalker to rustc_type_ir 2025-04-12 22:46:11 +00:00
context.rs Auto merge of #140145 - Zoxc:job-server-proxy, r=SparrowLii 2025-05-01 04:11:52 +00:00
diagnostics.rs Rename LifetimeName as LifetimeKind. 2025-04-16 07:16:40 +10:00
elaborate_impl.rs Uplift elaboration 2024-07-07 11:28:01 -04:00
erase_regions.rs clean code: remove Deref<Target=RegionKind> impl for Region and use .kind() 2025-04-08 10:51:41 +08:00
error.rs Remove weak alias terminology 2025-04-24 11:59:20 +01:00
fast_reject.rs Use DeepRejectCtxt to quickly reject ParamEnv candidates 2024-09-02 19:59:18 +03:00
fold.rs Use newtype_index!-generated types more idiomatically 2025-04-14 16:17:06 +00:00
generic_args.rs convert some GenericArg to Term 2025-04-26 02:05:31 +00:00
generics.rs Remove kw::Empty uses from rustc_middle. 2025-03-26 12:03:23 +11:00
impls_ty.rs const-eval interning: accpt interior mutable pointers in final value (but keep rejecting mutable references) 2024-09-10 10:26:16 +02:00
instance.rs AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}, scoped async drop added. 2025-04-28 16:23:13 +07:00
intrinsic.rs add new rustc_const_stable_intrinsic attribute for const-stable intrinsics 2024-11-04 23:27:46 +01:00
layout.rs remove compiler support for extern "rust-intrinsic" blocks 2025-04-06 21:32:58 +02:00
list.rs Move FlagComputation, PatternKind, and TypeWalker to rustc_type_ir 2025-04-12 22:46:11 +00:00
mod.rs Use less rustc_type_ir in the compiler codebase 2025-04-30 16:42:33 +02:00
normalize_erasing_regions.rs Squash fold into ty 2025-03-15 06:34:36 +00:00
opaque_types.rs clean code: remove Deref<Target=RegionKind> impl for Region and use .kind() 2025-04-08 10:51:41 +08:00
parameterized.rs don't store opaque info during encoding 2025-04-12 23:56:48 +08:00
pattern.rs Add or-patterns to pattern types 2025-04-28 07:50:18 +00:00
predicate.rs norm nested aliases before evaluating the parent goal 2025-04-24 18:41:43 +00:00
region.rs clean code: remove Deref<Target=RegionKind> impl for Region and use .kind() 2025-04-08 10:51:41 +08:00
relate.rs Add or-patterns to pattern types 2025-04-28 07:50:18 +00:00
rvalue_scopes.rs Remove ScopeDepth entirely. 2025-03-28 08:31:47 +01:00
significant_drop_order.rs Introduce DefPathData::AnonAssocTy. 2025-04-11 19:08:14 +10:00
structural_impls.rs canonical no type foldable :< 2025-04-29 23:17:31 +00:00
sty.rs Auto merge of #140388 - GuillaumeGomez:rollup-aj9o3ch, r=GuillaumeGomez 2025-04-28 17:22:11 +00:00
trait_def.rs Remove a function that has no necessary callers 2025-04-02 07:30:11 +00:00
typeck_results.rs canonical no type foldable :< 2025-04-29 23:17:31 +00:00
util.rs Auto merge of #140388 - GuillaumeGomez:rollup-aj9o3ch, r=GuillaumeGomez 2025-04-28 17:22:11 +00:00
visit.rs Remove weak alias terminology 2025-04-24 11:59:20 +01:00
vtable.rs Do not treat vtable supertraits as distinct when bound with different bound vars 2025-01-30 15:33:58 +00:00