Merge pull request #989 from smoltcp-rs/fix-benches

Fix bench, check benches in CI.
This commit is contained in:
Thibaut Vandervelden 2024-09-16 12:52:14 +00:00 committed by GitHub
commit 749d8c7711
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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() {