From 00aa2b457cb704fb4ba976af15946e1a80053f50 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Thu, 12 Sep 2024 17:10:03 +0200 Subject: [PATCH] Fix bench, check it in CI. --- benches/bench.rs | 1 + ci.sh | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/benches/bench.rs b/benches/bench.rs index 2738840c1..0920958d9 100644 --- a/benches/bench.rs +++ b/benches/bench.rs @@ -42,6 +42,7 @@ mod wire { sack_permitted: false, sack_ranges: [None, None, None], payload: &PAYLOAD_BYTES, + timestamp: None, }; let mut bytes = vec![0xa5; repr.buffer_len()]; diff --git a/ci.sh b/ci.sh index 9a9cc1f65..2b078af08 100755 --- a/ci.sh +++ b/ci.sh @@ -68,6 +68,12 @@ check() { for features in ${FEATURES_CHECK[@]}; do cargo +$version check --no-default-features --features "$features" done + + cargo +$version check --examples + + if [[ $version == "nightly" ]]; then + cargo +$version check --benches + fi } clippy() {