You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by tu...@apache.org on 2022/12/27 10:23:10 UTC

[arrow-rs] branch master updated: Upgrade multiversion (#3396)

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

tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new 9a5073ac8 Upgrade multiversion (#3396)
9a5073ac8 is described below

commit 9a5073ac86b8daa222f080d5c3850d6bb98a999b
Author: Liang-Chi Hsieh <vi...@gmail.com>
AuthorDate: Tue Dec 27 02:23:04 2022 -0800

    Upgrade multiversion (#3396)
---
 arrow-arith/Cargo.toml       | 2 +-
 arrow-arith/src/aggregate.rs | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/arrow-arith/Cargo.toml b/arrow-arith/Cargo.toml
index 854941c25..db85c2a6b 100644
--- a/arrow-arith/Cargo.toml
+++ b/arrow-arith/Cargo.toml
@@ -44,7 +44,7 @@ arrow-data = { version = "29.0.0", path = "../arrow-data" }
 arrow-schema = { version = "29.0.0", path = "../arrow-schema" }
 chrono = { version = "0.4.23", default-features = false }
 half = { version = "2.1", default-features = false }
-multiversion = { version = "0.6.1", default-features = false }
+multiversion = { version = "0.7.1", default-features = false }
 num = { version = "0.4", default-features = false, features = ["std"] }
 
 [dev-dependencies]
diff --git a/arrow-arith/src/aggregate.rs b/arrow-arith/src/aggregate.rs
index a9503130b..dc3d70bb2 100644
--- a/arrow-arith/src/aggregate.rs
+++ b/arrow-arith/src/aggregate.rs
@@ -104,8 +104,7 @@ pub fn max_boolean(array: &BooleanArray) -> Option<bool> {
 }
 
 /// Helper to compute min/max of [`ArrayAccessor`].
-#[multiversion]
-#[clone(target = "x86_64+avx")]
+#[multiversion(targets("x86_64+avx"))]
 fn min_max_helper<T, A: ArrayAccessor<Item = T>, F>(array: A, cmp: F) -> Option<T>
 where
     F: Fn(&T, &T) -> bool,