mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-09 00:00:08 +02:00
net: re-enable tcp_stream::try_read_buf test for WASI (#8305)
This commit is contained in:
@@ -307,10 +307,6 @@ fn write_until_pending(stream: &mut TcpStream) -> usize {
|
|||||||
total
|
total
|
||||||
}
|
}
|
||||||
|
|
||||||
// This test is temporarily disabled on WASI due to
|
|
||||||
// https://github.com/bytecodealliance/wasmtime/issues/13040. We can re-enable
|
|
||||||
// it once that issue is fixed and the fix is included in a Wasmtime release.
|
|
||||||
#[cfg_attr(target_os = "wasi", ignore)]
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn try_read_buf() {
|
async fn try_read_buf() {
|
||||||
const DATA: &[u8] = &[2u8; 4000];
|
const DATA: &[u8] = &[2u8; 4000];
|
||||||
|
|||||||
Reference in New Issue
Block a user