Skip to content

[parallel-queries] Refactor layout-depth tracking so it does not need mutable state in the GlobalCtxt #49735

Closed
@michaelwoerister

Description

@michaelwoerister

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions