Skip to content

[parallel-queries] Make CrateMetadata::cnum_map immutable #50502

Closed
@michaelwoerister

Description

The CrateMetadata::cnum_map field is wrapped in a Lock but it does not seem to be mutated anywhere. Less mutable state is always better. To solve this task, remove the Lock and make things compile again.

cc @rust-lang/wg-compiler-performance

Metadata

Assignees

No one assigned

    Labels

    A-parallel-queriesArea: Parallel query executionC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.WG-compiler-performanceWorking group: Compiler Performance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions