This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/main by this push:
new 9eabd32a47 Bump MSRV to 1.85 (#8429)
9eabd32a47 is described below
commit 9eabd32a47282da98c9e349f8679d6f1e78b029d
Author: Matthijs Brobbel <[email protected]>
AuthorDate: Wed Sep 24 21:02:55 2025 +0200
Bump MSRV to 1.85 (#8429)
# Which issue does this PR close?
None
# Rationale for this change
Following
https://github.com/apache/arrow-rs?tab=readme-ov-file#rust-version-compatibility-policy.
# What changes are included in this PR?
- Bump MSRV to 1.85
# Are these changes tested?
CI.
# Are there any user-facing changes?
Yes
---
Cargo.toml | 2 +-
arrow-array/src/arithmetic.rs | 8 ++++----
arrow-pyarrow-integration-testing/Cargo.toml | 2 +-
arrow-pyarrow-testing/Cargo.toml | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
index ec4066268e..db7b83a6f0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -82,7 +82,7 @@ include = [
"NOTICE.txt",
]
edition = "2021"
-rust-version = "1.84"
+rust-version = "1.85"
[workspace.dependencies]
arrow = { version = "56.2.0", path = "./arrow", default-features = false }
diff --git a/arrow-array/src/arithmetic.rs b/arrow-array/src/arithmetic.rs
index 031864cb08..0e2aa5a28c 100644
--- a/arrow-array/src/arithmetic.rs
+++ b/arrow-array/src/arithmetic.rs
@@ -420,13 +420,13 @@ native_type_float_op!(
1.,
unsafe {
// Need to allow in clippy because
- // current MSRV (Minimum Supported Rust Version) is `1.84.0` but this
item is stable since `1.87.0`
+ // current MSRV (Minimum Supported Rust Version) is `1.85.0` but this
item is stable since `1.87.0`
#[allow(unnecessary_transmutes)]
std::mem::transmute(-1_i32)
},
unsafe {
// Need to allow in clippy because
- // current MSRV (Minimum Supported Rust Version) is `1.84.0` but this
item is stable since `1.87.0`
+ // current MSRV (Minimum Supported Rust Version) is `1.85.0` but this
item is stable since `1.87.0`
#[allow(unnecessary_transmutes)]
std::mem::transmute(i32::MAX)
}
@@ -437,13 +437,13 @@ native_type_float_op!(
1.,
unsafe {
// Need to allow in clippy because
- // current MSRV (Minimum Supported Rust Version) is `1.84.0` but this
item is stable since `1.87.0`
+ // current MSRV (Minimum Supported Rust Version) is `1.85.0` but this
item is stable since `1.87.0`
#[allow(unnecessary_transmutes)]
std::mem::transmute(-1_i64)
},
unsafe {
// Need to allow in clippy because
- // current MSRV (Minimum Supported Rust Version) is `1.84.0` but this
item is stable since `1.87.0`
+ // current MSRV (Minimum Supported Rust Version) is `1.85.0` but this
item is stable since `1.87.0`
#[allow(unnecessary_transmutes)]
std::mem::transmute(i64::MAX)
}
diff --git a/arrow-pyarrow-integration-testing/Cargo.toml
b/arrow-pyarrow-integration-testing/Cargo.toml
index 7eecf8810f..2a4e833130 100644
--- a/arrow-pyarrow-integration-testing/Cargo.toml
+++ b/arrow-pyarrow-integration-testing/Cargo.toml
@@ -25,7 +25,7 @@ authors = ["Apache Arrow <[email protected]>"]
license = "Apache-2.0"
keywords = ["arrow"]
edition = "2021"
-rust-version = "1.84"
+rust-version = "1.85"
publish = false
[lib]
diff --git a/arrow-pyarrow-testing/Cargo.toml b/arrow-pyarrow-testing/Cargo.toml
index e5ba0f49f0..8cca197f11 100644
--- a/arrow-pyarrow-testing/Cargo.toml
+++ b/arrow-pyarrow-testing/Cargo.toml
@@ -40,7 +40,7 @@ authors = ["Apache Arrow <[email protected]>"]
license = "Apache-2.0"
keywords = ["arrow"]
edition = "2021"
-rust-version = "1.84"
+rust-version = "1.85"
publish = false