Skip to content

Document fixes / workarounds for rust-analyzer breaking incremental recompiles #778

@alice-i-cecile

Description

@alice-i-cecile

A user ran into this problem after following the linked advice on fast compiles.

I'm not entirely sure on the best solution.

We could:

  1. Suggest that they change the target directory for rust-analyzer, using Add config option to use rust-analyzer specific target dir rust-lang/rust-analyzer#15681
  2. Suggest they use sccache to share build artifacts (very useful when playing with many Bevy projects).
  3. Use the workarounds listed here.
  4. Do something else that I haven't thought of! I'm not a compiler/build tools wizard 😅

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions