diff --git a/anchor/src/environment.rs b/anchor/src/environment.rs index 716b131..3c335a4 100644 --- a/anchor/src/environment.rs +++ b/anchor/src/environment.rs @@ -8,6 +8,8 @@ use task_executor::{ShutdownReason, TaskExecutor}; use tokio::runtime::{Builder as RuntimeBuilder, Runtime}; use tracing::{error, info, warn}; use tracing_subscriber::EnvFilter; + +#[cfg(target_family = "unix")] use { futures::Future, std::{pin::Pin, task::Context, task::Poll},