Skip to content

Enable proc macros by default #7328

Closed
Closed
@matklad

Description

@matklad

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions