Update src/contributors/02-local-development.md

Co-authored-by: Nutomic <me@nutomic.com>
This commit is contained in:
Dessalines 2025-01-09 14:08:12 -05:00 committed by GitHub
parent 547c529756
commit 4d53598ff9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,7 +90,7 @@ Use `cargo check` to find compilation errors. To start the Lemmy backend, run `c
After making changes, you need to format the code with `cargo +nightly fmt --all` and run the linter with `./scripts/lint.sh`.
If you'd like to speed up compilation times, you can install [mold](https://github.com/rui314/mold), and [sccache](https://github.com/mozilla/sccache), then add the following to `~/.cargo/config.toml` (requires nightly rust).
If you'd like to speed up compilation times, you can install [mold](https://github.com/rui314/mold), and [sccache](https://github.com/mozilla/sccache), then add the following to `~/.cargo/config.toml`. Note that the parameter `-Zthreads=x` only works on nightly Rust.
```toml
[build]