Skip to content

Commit

Permalink
ARROW-5044: [Release][Rust] Use stable toolchain for format check in …
Browse files Browse the repository at this point in the history
…verification script

Author: Kouhei Sutou <kou@clear-code.com>

Closes #4059 from kou/release-fix-rust-format and squashes the following commits:

80af05f <Kouhei Sutou>  Use stable toolchain for format check in verification script
  • Loading branch information
kou committed Mar 28, 2019
1 parent 4b325d8 commit d588046
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dev/release/verify-release-candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d588046

Please sign in to comment.