Stream: t-compiler/rust-analyzer

Topic: loadOutDirsFromCheck / proc macros


Florian Diebold (Nov 03 2020 at 11:57, on Zulip):

I've been wondering about the long-term plan for loadOutDirsFromCheck and running proc macros, so I wrote down some thoughts here: rust-analyzer#6448

Laurențiu (Nov 03 2020 at 12:17, on Zulip):

See also https://github.com/rust-analyzer/rust-analyzer/issues/6279

Laurențiu (Nov 03 2020 at 12:19, on Zulip):

we want to be able to function without cargo check

We still do, by default. Are there any downsides to enabling proc macros/build scripts if e.g. the code doesnt build?

Laurențiu (Nov 03 2020 at 12:23, on Zulip):

My preference would be to enable them by default, or to ask on the first project load (not necessarily one with build scripts). Another nice touch would be to detect if the proc macro server is crashing and disable it, to better handle ABI changes

Florian Diebold (Nov 03 2020 at 12:25, on Zulip):

I should have checked for duplicates :sweat_smile:

Last update: Jul 29 2021 at 08:30UTC