Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,13 @@ jobs:
working-directory: rust
run: |
rustup toolchain install nightly --component clippy
cargo +nightly clippy --workspace --all-targets --all-features --locked -- -Dwarnings -Zcrate-attr='feature(non_exhaustive_omitted_patterns_lint)'
# -Zcrate-attr enables the unstable non_exhaustive_omitted_patterns lint
# (https://github.com/apache/arrow-adbc/pull/3245).
# It applies to all workspace packages, so we also allow unused_features for crates that
# don't use the lint.
cargo +nightly clippy --workspace --all-targets --all-features --locked -- -Dwarnings \
-Zcrate-attr='feature(non_exhaustive_omitted_patterns_lint)' \
-Zcrate-attr='allow(unused_features)'
- name: Test (Default Features)
working-directory: rust
# TODO: enable snowflake tests on windows
Expand Down
Loading