You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by li...@apache.org on 2025/10/29 02:58:08 UTC

(iceberg-rust) branch main updated: ci: Relax msrv check thanks to rust 2024 (#1795)

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 <gi...@xuanwo.io>
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 <gi...@xuanwo.io>
    Co-authored-by: Renjie Liu <li...@gmail.com>
---
 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