Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

fix(sdk): scope the Duration import to the Unix-only exec -i test (CUA-1949) (#5668)

ddupontf8f1bc2ee9d4
diff --git a/libs/cua/crates/cua-cli/tests/sandbox_do.rs b/libs/cua/crates/cua-cli/tests/sandbox_do.rs
index 478669056d..b18b71b3e4 100644
--- a/libs/cua/crates/cua-cli/tests/sandbox_do.rs
+++ b/libs/cua/crates/cua-cli/tests/sandbox_do.rs
@@ -6,6 +6,7 @@ use common::*;
use cua_daemon::fixtures;
use cua_host::testing::FakeRelay;
use serde_json::json;
+#[cfg(unix)]
use std::time::Duration;
async fn direct(h: &Home, url: &str, name: &str) {