diff --git a/Cargo.lock b/Cargo.lock index 8c4c89b3d..3c24e7a8a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3875,6 +3875,7 @@ dependencies = [ "open", "smol", "wezterm-dynamic", + "winapi 0.3.9", ] [[package]] diff --git a/lua-api-crates/spawn-funcs/Cargo.toml b/lua-api-crates/spawn-funcs/Cargo.toml index bb58463d0..ccdf68203 100644 --- a/lua-api-crates/spawn-funcs/Cargo.toml +++ b/lua-api-crates/spawn-funcs/Cargo.toml @@ -13,3 +13,6 @@ luahelper = { path = "../../luahelper" } smol = "1.2" bstr = "0.2" open = "2.0" + +[target."cfg(windows)".dependencies] +winapi = { version = "0.3", features = ["winuser"]}