Skip to content

Apache DataFusion SQL Query Engine

ARROW-6303: [Rust] Add a feature to disable SIMD

Paddy Horan90d08f81c8e6
diff --git a/ci/rust-build-main.bat b/ci/rust-build-main.bat
index e7f3c32a54..97ed1d512c 100644
--- a/ci/rust-build-main.bat
+++ b/ci/rust-build-main.bat
@@ -31,6 +31,12 @@ rustup default nightly
rustup show
cargo build --target %TARGET% --all-targets --release || exit /B
@echo
+@echo Build with no default features
+@echo ------------------------------
+pushd arrow
+cargo build --target %TARGET% --all-targets --no-default-features || exit /B
+popd
+@echo
@echo Test (release)
@echo --------------
cargo test --target %TARGET% --release || exit /B
diff --git a/ci/travis_script_rust.sh b/ci/travis_script_rust.sh
index 704cb37bb0..20656b6855 100755
--- a/ci/travis_script_rust.sh
+++ b/ci/travis_script_rust.sh
@@ -32,6 +32,9 @@ rustup show
cargo +stable fmt --all -- --check
RUSTFLAGS="-D warnings" cargo build --all-targets
+pushd arrow
+cargo build --no-default-features
+popd
cargo test
# run examples