Fix std tests for wasm32-wasip2 target
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user