Skip to content

Commit 3cb18e7

Browse files
ci: Relax msrv check thanks to rust 2024 (#1795)
## Which issue does this PR close? - Closes #. ## What changes are included in this PR? This PR is going to relax the MSRV check thanks to rust 2024. Since starts from rust 2024, cargo has [msrv aware dep resolve](https://doc.rust-lang.org/edition-guide/rust-2024/cargo-resolver.html). This means that dep's upgrade no a problem now. ## Are these changes tested? Signed-off-by: Xuanwo <[email protected]> Co-authored-by: Renjie Liu <[email protected]>
1 parent a76e738 commit 3cb18e7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ NIGHTLY_VERSION := $(shell awk -F'"' '/^channel/ {print $$2}' rust-toolchain.tom
4545
MSRV_VERSION := $(shell awk -F'"' '/^rust-version/ {print $$2}' Cargo.toml)
4646

4747
check-msrv:
48-
@set -e; \
49-
trap 'git restore Cargo.lock' EXIT; \
50-
cargo +$(NIGHTLY_VERSION) generate-lockfile -Z direct-minimal-versions; \
51-
cargo +$(MSRV_VERSION) check --locked --workspace
48+
cargo +$(MSRV_VERSION) check --workspace
5249

5350
check: check-fmt check-clippy check-toml cargo-machete
5451

0 commit comments

Comments
 (0)