Skip to content

Commit

Permalink
Merge pull request #80 from magick93/windows-rel
Browse files Browse the repository at this point in the history
add conditional imports for Unix target family in environment module
  • Loading branch information
magick93 authored Dec 6, 2024
2 parents f8307a6 + 17acbd0 commit 25f2192
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 25f2192

Please sign in to comment.