Skip to content

Add sccache as an "Enable Fast Compiles (Optional)" section. #2364

@mholiv

Description

@mholiv

How can Bevy's documentation be improved?

I would be happy to make this change if people are interested.

The docs at https://bevy.org/learn/quick-start/getting-started/setup/ suggest several optional ways to speed up compiles. An additional (and easy) way to improve things further might be recommending setting up sccache.

It can be done as simply as:

1. Install sccache
cargo install sccache

2. Enable sccache in your game
In .cargo/config add:
[build]
rustc-wrapper = "/home/caitlin/.cargo/bin/sccache"

This helps A TON if the bevy dev is doing things like building their game with different features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-BookC-ContentS-Ready-For-ImplementationThe core questions are answered: just add codeX-ContentiousThere are nontrivial implications that should be thought through

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions