Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ NIGHTLY_VERSION := $(shell awk -F'"' '/^channel/ {print $$2}' rust-toolchain.tom
MSRV_VERSION := $(shell awk -F'"' '/^rust-version/ {print $$2}' Cargo.toml)

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

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

Expand Down
Loading