-
Notifications
You must be signed in to change notification settings - Fork 256
Don't serialise error data #25
Comments
I'll look into this in the beta timeframe, but I don't think this should block necessarily. I'm not convinced we will see a meaningful perf improvement. |
@nrc Is FIXME(#25) still relevant? If so, how should it be implemented?
|
Yeah, the error message stuff is still relevant. I haven't thought in details how to fix it. I think that plan sounds reasonable. I'd prefer if we could just move the diagnostics to the RLS, rather that store them in an Arc-Mutex, but I suppose the threading causes issues. |
I was thinking of returning owned |
Looking at rust-lang/rust#18579 now, should the |
I don't think they should - we have the information in JSON form, and they are a different kind of data made in a different place in the compiler, so there doesn't seem to be much benefit in combining them for now. |
I worked mostly on the rls-analysis front to support multiple packages, but will get back to in a free moment. |
Bump: RLS sets RUSTFLAGS just because this, and is causing rebuild for me. |
As a note, if we decide to compile out-of-process this wouldn't be a problem anymore. |
We are running the compiler in-process, so we should just pass the data, rather than serialising it to JSON and then back again.
The text was updated successfully, but these errors were encountered: