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

This PR fixes an issue where the `windows` dependency was being included
on non-Windows targets.

Resolves https://github.com/zed-industries/zed/issues/12282.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-05-25 11:04:22 -04:00 committed by GitHub
parent 66e40a5d7e
commit ace371a0d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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