Stream: t-compiler

Topic: serde in the compiler


Igor Matuszewski (Apr 11 2019 at 13:33, on Zulip):

Since we can use proc macros in the compiler now, can we potentially pull in serde? I believe this would be faster for our JSON stuff (looking at you save-analysis) @Zoxc @eddyb

Zoxc (Apr 11 2019 at 13:34, on Zulip):

That currently causes problems with tools which also use serde from crates.io

Igor Matuszewski (Apr 11 2019 at 13:48, on Zulip):

Hm, isn't that the same case for all of our crates.io deps in the compiler?

Igor Matuszewski (Apr 11 2019 at 13:49, on Zulip):

do you have any link to issues with this?

Igor Matuszewski (Apr 17 2019 at 16:56, on Zulip):

@Zoxc @eddyb is it because we can't have two same-but-different proc macros>

Igor Matuszewski (Apr 17 2019 at 16:56, on Zulip):

?

Igor Matuszewski (Apr 17 2019 at 17:17, on Zulip):

Found some:
https://github.com/rust-lang/rust/issues/40177
https://github.com/rust-lang/rust/issues/40527

Igor Matuszewski (Apr 17 2019 at 22:19, on Zulip):

Not sure if serde derive proc macro itself works but regular serde seems to work OK for what it's worth - https://github.com/rust-lang/rust/pull/60053

Last update: Nov 16 2019 at 01:05UTC