Skip to content

Commit 7e9a7f5

Browse files
authored
fix(sandbox): gate Linux-only ordering import (#2513)
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent f00ad23 commit 7e9a7f5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • crates/openshell-sandbox/src

‎crates/openshell-sandbox/src/lib.rs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ mod sidecar_control;
1717
use miette::{IntoDiagnostic, Result, WrapErr};
1818
use std::future::Future;
1919
use std::sync::Arc;
20-
use std::sync::atomic::{AtomicBool, AtomicU32, Ordering};
20+
#[cfg(target_os = "linux")]
21+
use std::sync::atomic::Ordering;
22+
use std::sync::atomic::{AtomicBool, AtomicU32};
2123
use std::time::Duration;
2224
use tracing::{debug, info, warn};
2325

0 commit comments

Comments
 (0)