Skip to content

Commit a831deb

Browse files
committed
fix(build): restore checks after rebase
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
1 parent 82d7a26 commit a831deb

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
88
mod activity_aggregator;
99
mod denial_aggregator;
10+
#[cfg(target_os = "linux")]
1011
mod google_cloud_metadata;
1112
mod mechanistic_mapper;
13+
#[cfg(target_os = "linux")]
1214
mod metadata_server;
1315

1416
use miette::Result;
@@ -65,6 +67,7 @@ use openshell_supervisor_network::opa::OpaEngine;
6567
pub use openshell_supervisor_process::process::{ProcessHandle, ProcessStatus};
6668
use openshell_supervisor_process::skills;
6769
use tokio::sync::mpsc::UnboundedSender;
70+
#[cfg(target_os = "linux")]
6871
use tokio::time::timeout;
6972

7073
/// Run a command in the sandbox.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ pub async fn run_server(
432432

433433
let state = Arc::new(state);
434434

435-
let (_shutdown_tx, shutdown_rx) = watch::channel(false);
435+
let (shutdown_tx, shutdown_rx) = watch::channel(false);
436436

437437
// Resume sandboxes that were stopped during the previous gateway
438438
// shutdown so the running compute state matches the persisted store.

0 commit comments

Comments
 (0)