Fix bench, check it in CI.

This commit is contained in:
Dario Nieuwenhuis 2024-09-12 17:10:03 +02:00
parent 649bce4012
commit 00aa2b457c
2 changed files with 7 additions and 0 deletions

View File

@ -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()];

6
ci.sh
View File

@ -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() {