This is an automated email from the ASF dual-hosted git repository.

liurenjie1024 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git


The following commit(s) were added to refs/heads/main by this push:
     new 3cb18e789 ci: Relax msrv check thanks to rust 2024 (#1795)
3cb18e789 is described below

commit 3cb18e789fb10b837b7449f6634f2b7e1c90bbb5
Author: Xuanwo <[email protected]>
AuthorDate: Wed Oct 29 10:58:02 2025 +0800

    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]>
---
 Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 1b98fe8fa..ecdada3df 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
 

Reply via email to