Fix std tests for wasm32-wasip2 target

This commit is contained in:
Nicola Krumschmidt
2024-09-04 02:18:32 +02:00
parent 3b11c82a3d
commit 87f17f3ccb
29 changed files with 125 additions and 45 deletions

View File

@@ -3,7 +3,7 @@
pub const DEFAULT_BUF_SIZE: usize = if cfg!(target_os = "espidf") { 512 } else { 8 * 1024 };
#[cfg(test)]
#[allow(dead_code)] // not used on emscripten
#[allow(dead_code)] // not used on emscripten and wasi
pub mod test {
use rand::RngCore;