Merge branch 'salvatoret/cargo-clippy-cleanup' into 'main'

Resolve `cargo clippy` errors

See merge request veilid/veilid!252
This commit is contained in:
Christien Rioux 2024-02-10 20:35:06 +00:00
commit 16dead2d6f
2 changed files with 2 additions and 0 deletions

View File

@ -170,6 +170,7 @@ build-android:
unit-tests-linux: unit-tests-linux:
FROM +code-linux FROM +code-linux
ENV RUST_BACKTRACE=1 ENV RUST_BACKTRACE=1
RUN cargo clippy
RUN cargo test -p veilid-server -p veilid-cli -p veilid-tools -p veilid-core RUN cargo test -p veilid-server -p veilid-cli -p veilid-tools -p veilid-core
# TODO: Change t0 cross so that they work on any platform # TODO: Change t0 cross so that they work on any platform

View File

@ -259,6 +259,7 @@ pub async fn test_interval() {
stopper.await; stopper.await;
} }
#[allow(clippy::await_holding_lock)]
pub async fn test_timeout() { pub async fn test_timeout() {
info!("testing timeout"); info!("testing timeout");