Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix: restrict windows-sys to Windows target (#8522)

RosarioYui810ebe0d2b23
diff --git a/codex-rs/windows-sandbox-rs/Cargo.toml b/codex-rs/windows-sandbox-rs/Cargo.toml
index eec3925ffa..aa872035bc 100644
--- a/codex-rs/windows-sandbox-rs/Cargo.toml
+++ b/codex-rs/windows-sandbox-rs/Cargo.toml
@@ -47,7 +47,7 @@ version = "0.8"
[dependencies.dirs-next]
version = "2.0"
-[dependencies.windows-sys]
+[target.'cfg(windows)'.dependencies.windows-sys]
features = [
"Win32_Foundation",
"Win32_System_Diagnostics_Debug",