Skip to content

Commit 2593eb6

Browse files
committed
Use stable Rust for checks
Using the nightly compiler is a burden for contributors — a lot of platforms don't ship a builds of the nightly compiler. In order to use nightly, we'd need to compile it from source.
1 parent cfac991 commit 2593eb6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@ test:
22
@cargo test --all-features --all-targets
33

44
check:
5-
@cargo +nightly fmt --all
5+
@cargo fmt --all
66
@cargo clippy --fix --allow-dirty --allow-staged --all-targets --all-features
77
@cargo update --dry-run
88
@cargo outdated -wR
99
@cargo machete
1010
@cargo doc --no-deps --all-features --examples --document-private-items
11-
@cargo +nightly udeps --all-targets --all-features
11+
@cargo udeps --all-targets --all-features
1212

1313
check_nightly:
14+
@cargo +nightly fmt --all
1415
@cargo +nightly clippy --fix --allow-dirty --allow-staged --all-targets --all-features
16+
@cargo +nightly udeps --all-targets --all-features
1517

1618
check_strictly:
1719
@cargo +nightly clippy --fix --allow-dirty --allow-staged --all-features --all-targets -- -W clippy::all -W clippy::pedantic -W clippy::cargo

0 commit comments

Comments
 (0)