From 9a5073ac86b8daa222f080d5c3850d6bb98a999b Mon Sep 17 00:00:00 2001 From: Liang-Chi Hsieh Date: Tue, 27 Dec 2022 02:23:04 -0800 Subject: [PATCH] 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 854941c25345..db85c2a6b978 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 a9503130b0f9..dc3d70bb2831 100644 --- a/arrow-arith/src/aggregate.rs +++ b/arrow-arith/src/aggregate.rs @@ -104,8 +104,7 @@ pub fn max_boolean(array: &BooleanArray) -> Option { } /// Helper to compute min/max of [`ArrayAccessor`]. -#[multiversion] -#[clone(target = "x86_64+avx")] +#[multiversion(targets("x86_64+avx"))] fn min_max_helper, F>(array: A, cmp: F) -> Option where F: Fn(&T, &T) -> bool,