Stream: t-compiler/major changes

Topic: Switch JSON serialization from rustc_seriā€¦ compiler-team#418


triagebot (Mar 16 2021 at 14:46, on Zulip):

A new proposal has been announced: Switch JSON serialization from rustc_serialize to serde #418. It will be announced at the next meeting to try and draw attention to it, but usually MCPs are not discussed during triage meetings. If you think this would benefit from discussion amongst the team, consider proposing a design meeting.

Joshua Nelson (Mar 16 2021 at 14:48, on Zulip):

just for background, eddyb brought this up while reviewing https://github.com/rust-lang/rust/pull/83197

triagebot (Mar 16 2021 at 14:50, on Zulip):

@T-compiler: Proposal #418 has been seconded, and will be approved in 10 days if no objections are raised.

eddyb (Mar 16 2021 at 14:57, on Zulip):

Joshua Nelson said:

just for background, eddyb brought this up while reviewing https://github.com/rust-lang/rust/pull/83197

it also came up during #83160, yesterday

eddyb (Mar 16 2021 at 15:13, on Zulip):

I really want to rename our stuff so it looks nothing like the deprecated rustc-serialize

eddyb (Mar 16 2021 at 15:14, on Zulip):

probably the overall plan should be to move to serde for all of the e.g. JSON stuff, then shrink the API massively

eddyb (Mar 16 2021 at 15:15, on Zulip):

since what all of the compiler data (incremental caches and .rmeta) needs is a flat stream of integers

eddyb (Mar 16 2021 at 15:15, on Zulip):

and the resulting traits can be so small they can live in rustc_data_structures

triagebot (Apr 08 2021 at 15:03, on Zulip):

This proposal has been accepted: #418.

Last update: May 07 2021 at 06:45UTC