Skip to content

Commit f5078c8

Browse files
committed
fix(agent): Windows 沙箱补齐 windows-sys 所需 features(Security/IO/JobObjects/Threading)
1 parent 88b261d commit f5078c8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

crates/deep-code-agent/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,16 @@ seccompiler = "0.5"
3434
libc = "0.2"
3535

3636
# Windows sandbox backend (Job Object: process-tree kill + resource limits).
37+
# Job Object APIs span several windows-sys features: CreateJobObjectW needs
38+
# Win32_Security (SECURITY_ATTRIBUTES); the EXTENDED_LIMIT struct needs
39+
# Win32_System_Threading (+ Win32_System_IO for its IO_COUNTERS field).
3740
[target.'cfg(target_os = "windows")'.dependencies]
3841
windows-sys = { version = "0.59", features = [
3942
"Win32_Foundation",
43+
"Win32_Security",
44+
"Win32_System_IO",
4045
"Win32_System_JobObjects",
46+
"Win32_System_Threading",
4147
] }
4248

4349
[dev-dependencies]

0 commit comments

Comments
 (0)