ok/jj
1
0
Fork 0
forked from mirrors/jj

contributing.md: Fix up the MSRV, explain it a bit more

This commit is contained in:
Ilya Grigoriev 2023-04-09 22:28:51 -07:00
parent c298339f98
commit 7d9faef95f

View file

@ -80,7 +80,7 @@ recommended steps.
One-time setup:
rustup toolchain add nightly # If this is not your default
rustup toolchain add 1.61
rustup toolchain add 1.64 # See note about MSRV & `rust-version` below
cargo install cargo-insta
cargo install cargo-watch
cargo install cargo-nextest
@ -89,7 +89,7 @@ During development (adapt according to your preference):
cargo watch --ignore '.jj/**' -s \
'cargo clippy --workspace --all-targets \
&& cargo +1.61 check --workspace --all-targets'
&& cargo +1.64 check --workspace --all-targets'
cargo +nightly fmt # Occasionally
cargo nextest run --workspace # Occasionally
cargo insta test --workspace # Occasionally
@ -116,7 +116,7 @@ These are listed roughly in order of decreasing importance.
toolchain and use `cargo +nightly fmt`.
3. Your code will be rejected if it cannot be compiled with the minimal
supported version of Rust. This version is listed as
supported version of Rust ("MSRV"). This version is listed as
`rust-version` in [`Cargo.toml`](../Cargo.toml); it is 1.64 as of this
writing.