Skip to content

Commit

Permalink
node_runtime: Restrict the windows dependency to the Windows target (
Browse files Browse the repository at this point in the history
…#12284)

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

Resolves #12282.

Release Notes:

- N/A
  • Loading branch information
maxdeviant committed May 25, 2024
1 parent 66e40a5 commit ace371a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/node_runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ace371a

Please sign in to comment.