Skip to content

Decentralize queries #277

Closed
Closed
@cjgillot

Description

@cjgillot

TL;DR

Allow each compiler crate to define its own queries, instead of declaring everything in librustc_middle.
This would remove the need for datatype definitions in librustc_middle.

Links and Details

Exploratory work: moving the query system out of librustc_middle -> rust-lang/rust#70951

Mentors or Reviewers

I have not looked for people yet.
@eddyb might be interested because of rust-lang/rust#70951 (comment)


Note: Discussion of the proposal should happen on the associated zulip topic (read access available at associated zulip archive). This issue is meant to summarize the high level points and to track status of the proposal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-compilerAdd this label so rfcbot knows to poll the compiler teammajor-changeA proposal to make a major change to rustc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions