Skip to content

Commit

Permalink
Merge pull request #81 from magick93/unstable
Browse files Browse the repository at this point in the history
conditional imports for unix
  • Loading branch information
magick93 authored Dec 6, 2024
2 parents c892892 + 25f2192 commit 5d99284
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions anchor/src/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 5d99284

Please sign in to comment.