mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-26 16:32:41 +00:00
Turn on clippy for Rust and fix lints for non-generated code (#7575)
Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
@@ -48,13 +48,9 @@ check_test_result "Rust flatbuffers heap alloc test"
|
||||
cargo run $TARGET_FLAG --bin=flexbuffers_alloc_check
|
||||
check_test_result "Rust flexbuffers heap alloc test"
|
||||
|
||||
# TODO(caspern): Fix this.
|
||||
# Temporarily disabled due to error in upstream configuration
|
||||
# https://github.com/google/flatbuffers/issues/6491
|
||||
#
|
||||
# rustup component add clippy
|
||||
# cargo clippy $TARGET_FLAG
|
||||
# check_test_result "No Cargo clippy lints test"
|
||||
rustup component add clippy
|
||||
cargo clippy $TARGET_FLAG
|
||||
check_test_result "No Cargo clippy lints test"
|
||||
|
||||
cargo bench $TARGET_FLAG
|
||||
|
||||
|
||||
Reference in New Issue
Block a user