diff --git a/Earthfile b/Earthfile index 282d65c7..415b7cda 100644 --- a/Earthfile +++ b/Earthfile @@ -181,6 +181,7 @@ build-android: unit-tests-clippy-linux: FROM +code-linux RUN cargo clippy + RUN cargo clippy --target=wasm32-unknown-unknown unit-tests-docs-linux: FROM +code-linux diff --git a/veilid-core/src/network_manager/wasm/protocol/ws.rs b/veilid-core/src/network_manager/wasm/protocol/ws.rs index d5a9295a..fb68b548 100644 --- a/veilid-core/src/network_manager/wasm/protocol/ws.rs +++ b/veilid-core/src/network_manager/wasm/protocol/ws.rs @@ -116,7 +116,6 @@ impl WebsocketNetworkConnection { } /////////////////////////////////////////////////////////// -/// pub(in crate::network_manager) struct WebsocketProtocolHandler {} diff --git a/veilid-tools/src/wasm.rs b/veilid-tools/src/wasm.rs index 66c33f5a..d658a609 100644 --- a/veilid-tools/src/wasm.rs +++ b/veilid-tools/src/wasm.rs @@ -1,5 +1,3 @@ -#![cfg(target_arch = "wasm32")] - use super::*; use core::sync::atomic::{AtomicI8, AtomicU32, Ordering}; use js_sys::{global, Reflect};