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,