[parallel-queries] Refactor layout-depth tracking so it does not need mutable state in the GlobalCtxt #49735
Labels
A-parallel-queries
Area: Parallel query execution
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
As described here, checking for too deep recursion when computing data layouts should not need to rely on mutable state in the
GlobalCtxt
.@Zoxc has implemented one possible solution here: cb51381
Maybe there is an even simpler one that does not require explicitly entering a new tcx.
cc @eddyb & @nikomatsakis
The text was updated successfully, but these errors were encountered: