diff options
| author | Nicola Krumschmidt <git@nkcom.de> | 2024-09-04 02:18:32 +0200 |
|---|---|---|
| committer | Nicola Krumschmidt <git@nkcom.de> | 2024-09-29 04:48:13 +0200 |
| commit | 87f17f3ccb69e9827562522ae1a38f84d2ba998a (patch) | |
| tree | d9ca03f59b55b85e2ea912e0bb6d6349305ff3b2 /library/std/src/sys_common | |
| parent | 3b11c82a3d625a01dd5f7b91785374103eb41589 (diff) | |
Fix std tests for wasm32-wasip2 target
Diffstat (limited to 'library/std/src/sys_common')
| -rw-r--r-- | library/std/src/sys_common/io.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys_common/io.rs b/library/std/src/sys_common/io.rs index e386c955f37..6f6f282d432 100644 --- a/library/std/src/sys_common/io.rs +++ b/library/std/src/sys_common/io.rs @@ -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; |
