mirror of
https://github.com/openharmony/third_party_rust_io-lifetimes.git
synced 2026-07-01 21:04:05 -04:00
fix: use correct traits in wasi tests
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
This commit is contained in:
committed by
Dan Gohman
parent
2523fda89c
commit
db672e5305
@@ -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};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user