From 32d48e3d63e65d98e9692499b00aced599924c6a Mon Sep 17 00:00:00 2001 From: "Jorge C. Leitao" Date: Fri, 21 May 2021 18:04:58 +0000 Subject: [PATCH] Minor simplifications. --- dev/release/verify-release-candidate.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh index 017d13848ad9..1ff34fd78cd5 100755 --- a/dev/release/verify-release-candidate.sh +++ b/dev/release/verify-release-candidate.sh @@ -115,8 +115,7 @@ test_source_distribution() { # raises on any formatting errors rustup component add rustfmt --toolchain stable - cargo +stable fmt --all -- --check - rustup default stable + cargo fmt --all -- --check # Clone testing repositories if not cloned already git clone https://github.com/apache/arrow-testing.git arrow-testing-data @@ -132,8 +131,7 @@ test_source_distribution() { -e 's/^parquet = "([^"]*)"/parquet = { version = "\1", path = "..\/parquet" }/g' \ */Cargo.toml - # raises on any warnings - RUSTFLAGS="-D warnings" cargo build + cargo build cargo test }