Treat Android like Linux in wasi_common::sys::unix.
Just like it happens in `yanix::sys`.
This commit is contained in:
@@ -9,7 +9,8 @@ pub(crate) mod poll;
|
|||||||
pub(crate) mod stdio;
|
pub(crate) mod stdio;
|
||||||
|
|
||||||
cfg_if::cfg_if! {
|
cfg_if::cfg_if! {
|
||||||
if #[cfg(target_os = "linux")] {
|
if #[cfg(any(target_os = "linux",
|
||||||
|
target_os = "android"))] {
|
||||||
mod linux;
|
mod linux;
|
||||||
use linux as sys_impl;
|
use linux as sys_impl;
|
||||||
} else if #[cfg(target_os = "emscripten")] {
|
} else if #[cfg(target_os = "emscripten")] {
|
||||||
|
|||||||
Reference in New Issue
Block a user