summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop/src-tauri/Cargo.toml
diff options
context:
space:
mode:
authorBrendan Allan <[email protected]>2026-01-13 15:32:54 +0800
committerGitHub <[email protected]>2026-01-13 15:32:54 +0800
commitddd9c71cca1f30a8214174fc10975e2ff3bb4635 (patch)
tree6fe6459c58be57feda11bc83126cfcbfb51a12e4 /packages/desktop/src-tauri/Cargo.toml
parent520a814fc20b5c87481f8ba73703c1c2d8142bc5 (diff)
downloadopencode-ddd9c71cca1f30a8214174fc10975e2ff3bb4635.tar.gz
opencode-ddd9c71cca1f30a8214174fc10975e2ff3bb4635.zip
feat(desktop): Tie desktop & CLI to the same Windows JobObject (#8153)
Diffstat (limited to 'packages/desktop/src-tauri/Cargo.toml')
-rw-r--r--packages/desktop/src-tauri/Cargo.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/desktop/src-tauri/Cargo.toml b/packages/desktop/src-tauri/Cargo.toml
index 3145ae4b2..05422b096 100644
--- a/packages/desktop/src-tauri/Cargo.toml
+++ b/packages/desktop/src-tauri/Cargo.toml
@@ -44,3 +44,11 @@ uuid = { version = "1.19.0", features = ["v4"] }
[target.'cfg(target_os = "linux")'.dependencies]
gtk = "0.18.2"
webkit2gtk = "=2.0.1"
+
+[target.'cfg(windows)'.dependencies]
+windows = { version = "0.61", features = [
+ "Win32_Foundation",
+ "Win32_System_JobObjects",
+ "Win32_System_Threading",
+ "Win32_Security"
+] }