Skip to content

Commit

Permalink
Recommend sccache in CONTRIBUTING.md (#2245)
Browse files Browse the repository at this point in the history
It works great for me.

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)

<!-- This line will get updated when the PR build summary job finishes.
-->
PR Build Summary: https://build.rerun.io/pr/2245
  • Loading branch information
emilk committed May 29, 2023
1 parent 689ba96 commit ac6eacc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,7 @@ To check everything in one go, run `./scripts/check.sh`. `check.sh` should ideal
### Optional
You can use [bacon](https://github.com/Canop/bacon) to automatically check your code on each save. For instance, running just `bacon` will re-run `cargo cranky` each time you change a rust file. See [`bacon.toml`](bacon.toml) for more.

You can set up [`sccache`](https://github.com/mozilla/sccache) to speed up re-compilation (e.g. when switching branches). You can control the size of the cache with `export SCCACHE_CACHE_SIZE="256G"`.

### Other
You can view higher log levels with `export RUST_LOG=debug` or `export RUST_LOG=trace`.

0 comments on commit ac6eacc

Please sign in to comment.