Proc macros are opt-in, we should make them opt-out. Part of #7325 (comment)
Steps:
- cleanup settings naming, docs, location and semantics. Current settings are a bit of a mess.
- make sure that proc macros are loaded asynchronously. At the moment, we run
cargo check and cargo metadata together. Instead, we should first run only metadata, immediatelly start suggesting cod insight, and load cargo check info in backgrooud. This should also pave the way for reloading things when build.rs / proc macros change.
- (ideally) implement ABI detection, so that we don't silently crash on ABI misatch
Proc macros are opt-in, we should make them opt-out. Part of #7325 (comment)
Steps:
cargo checkandcargo metadatatogether. Instead, we should first run only metadata, immediatelly start suggesting cod insight, and loadcargo checkinfo in backgrooud. This should also pave the way for reloading things when build.rs / proc macros change.