Treat Android like Linux in wasi_common::sys::unix.

Just like it happens in `yanix::sys`.
This commit is contained in:
whitequark
2020-12-12 06:36:09 +00:00
committed by Dan Gohman
parent 476ee59774
commit 1ec1834d6e

View File

@@ -9,7 +9,8 @@ pub(crate) mod poll;
pub(crate) mod stdio;
cfg_if::cfg_if! {
if #[cfg(target_os = "linux")] {
if #[cfg(any(target_os = "linux",
target_os = "android"))] {
mod linux;
use linux as sys_impl;
} else if #[cfg(target_os = "emscripten")] {