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 3b24ca1e62 Update packed_simd and run miri tests on simd code (#4654)
3b24ca1e62 is described below
commit 3b24ca1e624e3f76969532fbc6ca898f7d6fd8f5
Author: Jörn Horstmann <[email protected]>
AuthorDate: Sun Aug 6 15:10:09 2023 +0200
Update packed_simd and run miri tests on simd code (#4654)
* Update packed_simd and run miri tests on simd code
* Unpin nightly version
---
.github/workflows/arrow.yml | 6 ++----
.github/workflows/docs.yml | 3 +--
.github/workflows/miri.sh | 8 +++-----
arrow-array/Cargo.toml | 2 +-
4 files changed, 7 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/arrow.yml b/.github/workflows/arrow.yml
index 4872b66077..279e276a79 100644
--- a/.github/workflows/arrow.yml
+++ b/.github/workflows/arrow.yml
@@ -142,8 +142,7 @@ jobs:
- name: Setup Rust toolchain
uses: ./.github/actions/setup-builder
with:
- # Pinned nightly (#4651)
- rust-version: nightly-2023-08-03
+ rust-version: nightly
- name: Test arrow-array with SIMD
run: cargo test -p arrow-array --features simd
- name: Test arrow-ord with SIMD
@@ -169,8 +168,7 @@ jobs:
- name: Setup Rust toolchain
uses: ./.github/actions/setup-builder
with:
- # Pinned nightly (#4651)
- rust-version: nightly-2023-08-03
+ rust-version: nightly
target: wasm32-unknown-unknown,wasm32-wasi
- name: Build wasm32-unknown-unknown
run: cargo build -p arrow --no-default-features
--features=json,csv,ipc,simd,ffi --target wasm32-unknown-unknown
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 2bdfeea247..4ca71f4645 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -37,8 +37,7 @@ jobs:
strategy:
matrix:
arch: [ amd64 ]
- # Pinned nightly (#4651)
- rust: [ nightly-2023-08-03 ]
+ rust: [ nightly ]
container:
image: ${{ matrix.arch }}/rust
env:
diff --git a/.github/workflows/miri.sh b/.github/workflows/miri.sh
index 3323bd0996..faf9f028d2 100755
--- a/.github/workflows/miri.sh
+++ b/.github/workflows/miri.sh
@@ -5,11 +5,7 @@
# Must be run with nightly rust for example
# rustup default nightly
-
-# stacked borrows checking uses too much memory to run successfully in github
actions
-# re-enable if the CI is migrated to something more powerful
(https://github.com/apache/arrow-rs/issues/1833)
-# see also https://github.com/rust-lang/miri/issues/1367
-export MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-disable-stacked-borrows"
+export MIRIFLAGS="-Zmiri-disable-isolation"
cargo miri setup
cargo clean
@@ -18,3 +14,5 @@ cargo miri test -p arrow-buffer
cargo miri test -p arrow-data --features ffi
cargo miri test -p arrow-schema --features ffi
cargo miri test -p arrow-array
+cargo miri test -p arrow-arith --features simd
+cargo miri test -p arrow-ord --features simd
diff --git a/arrow-array/Cargo.toml b/arrow-array/Cargo.toml
index 4236da6d65..80a6eb3f54 100644
--- a/arrow-array/Cargo.toml
+++ b/arrow-array/Cargo.toml
@@ -49,7 +49,7 @@ chrono-tz = { version = "0.8", optional = true }
num = { version = "0.4.1", default-features = false, features = ["std"] }
half = { version = "2.1", default-features = false, features = ["num-traits"] }
hashbrown = { version = "0.14", default-features = false }
-packed_simd = { version = "0.3", default-features = false, optional = true,
package = "packed_simd_2" }
+packed_simd = { version = "0.3.9", default-features = false, optional = true }
[features]
simd = ["packed_simd"]