Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

node_runtime: Restrict the `windows` dependency to the Windows target (#12284)

Marshall Bowersace371a0d8d3
diff --git a/crates/node_runtime/Cargo.toml b/crates/node_runtime/Cargo.toml
index a73e14a0631..a87d9d92e58 100644
--- a/crates/node_runtime/Cargo.toml
+++ b/crates/node_runtime/Cargo.toml
@@ -31,10 +31,10 @@ smol.workspace = true
tempfile = { workspace = true, optional = true }
util.workspace = true
walkdir = "2.5.0"
-windows.workspace = true
[target.'cfg(windows)'.dependencies]
async-std = { version = "1.12.0", features = ["unstable"] }
+windows.workspace = true
[dev-dependencies]
tempfile.workspace = true