diff --git a/rutabaga_gfx/src/cross_domain/sys/mod.rs b/rutabaga_gfx/src/cross_domain/sys/mod.rs index fbfd01cf2a..51f40cd25a 100644 --- a/rutabaga_gfx/src/cross_domain/sys/mod.rs +++ b/rutabaga_gfx/src/cross_domain/sys/mod.rs @@ -7,7 +7,8 @@ cfg_if::cfg_if! { pub(crate) mod linux; mod epoll_internal; use linux as platform; - } else if #[cfg(any(target_os = "fuchsia",target_os = "windows", target_os = "macos"))] { + } else if #[cfg(any(target_os = "fuchsia",target_os = "windows", target_os = "macos", + target_os = "nto"))] { pub(crate) mod stub; use stub as platform; } else { diff --git a/rutabaga_gfx/src/rutabaga_os/sys/mod.rs b/rutabaga_gfx/src/rutabaga_os/sys/mod.rs index dd1d0fea12..b606362597 100644 --- a/rutabaga_gfx/src/rutabaga_os/sys/mod.rs +++ b/rutabaga_gfx/src/rutabaga_os/sys/mod.rs @@ -5,7 +5,7 @@ #[cfg(any(target_os = "android", target_os = "linux"))] pub mod linux; -#[cfg(any(target_os = "fuchsia", target_os = "macos"))] +#[cfg(any(target_os = "fuchsia", target_os = "macos", target_os = "nto"))] pub mod stub; #[cfg(windows)] @@ -16,7 +16,7 @@ cfg_if::cfg_if! { pub use linux as platform; } else if #[cfg(windows)] { pub use windows as platform; - } else if #[cfg(any(target_os = "fuchsia", target_os = "macos"))] { + } else if #[cfg(any(target_os = "fuchsia", target_os = "macos", target_os = "nto"))] { pub use stub as platform; } else { compile_error!("Unsupported platform");