You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2019/03/28 01:27:53 UTC
[arrow] branch master updated: ARROW-5044: [Release][Rust] Use
stable toolchain for format check in verification script
This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new d588046 ARROW-5044: [Release][Rust] Use stable toolchain for format check in verification script
d588046 is described below
commit d588046438dbc5d5dfb966d5ab9a33e922c460b0
Author: Kouhei Sutou <ko...@clear-code.com>
AuthorDate: Thu Mar 28 10:27:29 2019 +0900
ARROW-5044: [Release][Rust] Use stable toolchain for format check in verification script
Author: Kouhei Sutou <ko...@clear-code.com>
Closes #4059 from kou/release-fix-rust-format and squashes the following commits:
80af05f6 <Kouhei Sutou> Use stable toolchain for format check in verification script
---
dev/release/verify-release-candidate.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index b21dd96..faa2528 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -320,14 +320,14 @@ test_rust() {
# build and test rust
pushd rust
+ # raises on any formatting errors
+ rustup component add rustfmt --toolchain stable
+ cargo +stable fmt --all -- --check
+
# we are targeting Rust nightly for releases
rustup default nightly
- # raises on any formatting errors
- rustup component add rustfmt-preview
- cargo fmt --all -- --check
# raises on any warnings
-
RUSTFLAGS="-D warnings" cargo build
cargo test