Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

test(project): limit Unix-only trust test imports to Unix (#571)

l0ng-ai2faa64fb68ae
diff --git a/crates/ide-host/tests/trust.rs b/crates/ide-host/tests/trust.rs
index 011d59469..bf6a0a057 100644
--- a/crates/ide-host/tests/trust.rs
+++ b/crates/ide-host/tests/trust.rs
@@ -1,7 +1,10 @@
use ide_core::NullSink;
-use ide_host::{Host, HostConfig, ops, trust::TrustStore};
+#[cfg(unix)]
+use ide_host::ops;
+use ide_host::{Host, HostConfig, trust::TrustStore};
use std::path::Path;
use std::sync::Arc;
+#[cfg(unix)]
use std::time::{Duration, Instant};
fn host(base: &Path, environment: bool) -> Arc<Host> {