rust-lang / types-team

Home of the "types team", affiliated with the compiler and lang teams.
https://rust-lang.github.io/types-team/
Apache License 2.0
94 stars 19 forks source link

Remove chalk support from Rust #93

Closed compiler-errors closed 1 year ago

compiler-errors commented 1 year ago

Proposal

As far as I'm aware, the Chalk compiler is deprecated^1. My understanding is that T-types will continue maintaining it for rust-analyzer, but we have no plans to continue integrating it into rustc and it's a bit of a burden on the compiler due to the interning layer from chalk <=> rustc and the specific workarounds that live in the compiler to accomodate for the chalk solver.

Mentors or Reviewers

I can implement the removal. The code should be very easy to review since it's just a bunch of code going away.

Process

The main points of the Major Change Process are as follows:

You can read more about Major Change Proposals on forge.

Comments

Not sure if this should be a full-fledged FCP. If so, I can open one on the removal PR.

rustbot commented 1 year ago

This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Use this issue to leave procedural comments, such as volunteering to review, indicating that you second the proposal (or third, etc), or raising a concern that you would like to be addressed.

cc @rust-lang/types

BoxyUwU commented 1 year ago

@rustbot second

jackh726 commented 1 year ago

/concern

As I mentioned on zulip I do think the Chalk integration is still useful, particularly with my experimentation with associated types.

Can you say more about exactly how it's a burden to maintain? New features and such don't need to be implemented in the Chalk integration code. Is there some specific changes or refactoring that we can't do because of the chalk integration code? (That can't simply just be unimplemented!()?

lcnr commented 1 year ago

closing as accepted https://rust-lang.zulipchat.com/#narrow/stream/326132-t-types.2Fmeetings/topic/2023-07-03.20planning.20meeting/near/372030757