Skip to content

Reintegrate chalk into rustc #289

Closed
Closed
@jackh726

Description

@jackh726

TL;DR

Reintegrate chalk into rustc using chalk-solve under the -Z chalk flag.

Links and Details

This is working towards the eventual™ goal of using Chalk as the rustc trait solver. There used to be an experimental implementation of Chalk in rustc using chalk-engine. It became outdated and was removed in rust-lang/rust#69247. Since that first experimental implementation was added, Chalk has gone through lots of changes, including adding a new crate, chalk-solve, which is supposed to implement Rust logic. As such, with this newer implementation, the interface between rustc and Chalk is a bit higher-level.

The PR for this initial MVP implementation is here: rust-lang/rust#69406

Mentors or Reviewers

c.c. @nikomatsakis
c.c. @rust-lang/wg-traits

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 rustcmajor-change-acceptedA major change proposal that was accepted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions