fix: use correct traits in wasi tests

Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
This commit is contained in:
Roman Volosatovs
2022-08-22 20:10:32 +02:00
committed by Dan Gohman
parent 2523fda89c
commit db672e5305
+1 -1
View File
@@ -11,7 +11,7 @@ use io_lifetimes::{BorrowedSocket, OwnedSocket};
#[cfg(unix)]
use std::os::unix::io::{FromRawFd, IntoRawFd, RawFd};
#[cfg(target_os = "wasi")]
use std::os::wasi::io::{FromRawSocket, IntoRawSocket, RawFd};
use std::os::wasi::io::{FromRawFd, IntoRawFd, RawFd};
#[cfg(windows)]
use std::os::windows::io::{FromRawSocket, IntoRawSocket, RawSocket};