diff --git a/Makefile b/Makefile index 1b98fe8fa1..ecdada3df5 100644 --- a/Makefile +++ b/Makefile @@ -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