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

mbrobbel 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 c67e5f9963 Update Rust toolchain to 1.90 (#8468)
c67e5f9963 is described below

commit c67e5f9963f0da028e99157f688cb028ad3df13b
Author: Matthijs Brobbel <[email protected]>
AuthorDate: Sat Sep 27 00:01:20 2025 +0200

    Update Rust toolchain to 1.90 (#8468)
    
    # Which issue does this PR close?
    
    None.
    
    # Rationale for this change
    
    https://blog.rust-lang.org/2025/09/18/Rust-1.90.0/
    
    # What changes are included in this PR?
    
    - Bump rust version in `rust-toolchain.toml` to 1.90
    - Fix new warnings
    - Rename `arrow-pyarrow-integration-testing/.cargo/config` to
    `config.toml` to fix deprecation warning
    
    # Are these changes tested?
    
    CI
    
    # Are there any user-facing changes?
    
    No
---
 arrow-avro/benches/avro_writer.rs                              |  2 +-
 .../.cargo/{config => config.toml}                             |  2 +-
 arrow-select/src/concat.rs                                     | 10 ++--------
 rust-toolchain.toml                                            |  2 +-
 4 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/arrow-avro/benches/avro_writer.rs 
b/arrow-avro/benches/avro_writer.rs
index aeb9edbac8..1ac94e865b 100644
--- a/arrow-avro/benches/avro_writer.rs
+++ b/arrow-avro/benches/avro_writer.rs
@@ -91,7 +91,7 @@ fn make_i64_array_with_tag(n: usize, tag: u64) -> 
PrimitiveArray<Int64Type> {
 fn rand_ascii_string(rng: &mut StdRng, min_len: usize, max_len: usize) -> 
String {
     let len = rng.random_range(min_len..=max_len);
     (0..len)
-        .map(|_| (rng.random_range(b'a'..=b'z') as char))
+        .map(|_| rng.random_range(b'a'..=b'z') as char)
         .collect()
 }
 
diff --git a/arrow-pyarrow-integration-testing/.cargo/config 
b/arrow-pyarrow-integration-testing/.cargo/config.toml
similarity index 99%
rename from arrow-pyarrow-integration-testing/.cargo/config
rename to arrow-pyarrow-integration-testing/.cargo/config.toml
index a127967f66..0b24f30cf9 100644
--- a/arrow-pyarrow-integration-testing/.cargo/config
+++ b/arrow-pyarrow-integration-testing/.cargo/config.toml
@@ -19,4 +19,4 @@
 rustflags = [
   "-C", "link-arg=-undefined",
   "-C", "link-arg=dynamic_lookup",
-]
\ No newline at end of file
+]
diff --git a/arrow-select/src/concat.rs b/arrow-select/src/concat.rs
index fab47a588d..ae10d57907 100644
--- a/arrow-select/src/concat.rs
+++ b/arrow-select/src/concat.rs
@@ -1401,10 +1401,7 @@ mod tests {
             create_single_row_list_of_dict(vec![Some("b")]),
         ];
 
-        let arrays = scalars
-            .iter()
-            .map(|a| a as &(dyn Array))
-            .collect::<Vec<_>>();
+        let arrays = scalars.iter().map(|a| a as &dyn 
Array).collect::<Vec<_>>();
         let concat_res = concat(arrays.as_slice()).unwrap();
 
         let expected_list = create_list_of_dict(vec![
@@ -1437,10 +1434,7 @@ mod tests {
             })
             .collect::<Vec<_>>();
 
-        let arrays = scalars
-            .iter()
-            .map(|a| a as &(dyn Array))
-            .collect::<Vec<_>>();
+        let arrays = scalars.iter().map(|a| a as &dyn 
Array).collect::<Vec<_>>();
         let concat_res = concat(arrays.as_slice()).unwrap();
 
         let expected_list = create_list_of_dict(
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 4ac629d201..06f2711554 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -16,5 +16,5 @@
 # under the License.
 
 [toolchain]
-channel = "1.89"
+channel = "1.90"
 components = ["rustfmt", "clippy"]

Reply via email to