Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 41 additions & 54 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/cortex-sandbox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ libc = { workspace = true }
libc = { workspace = true }

[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.58", features = [
windows = { version = "0.62", features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Security_Authorization",
Expand Down
2 changes: 1 addition & 1 deletion src/cortex-windows-sandbox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rust-version.workspace = true
description = "Windows sandbox support for Cortex CLI"

[target.'cfg(windows)'.dependencies]
windows = { version = "0.58", features = [
windows = { version = "0.62", features = [

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Windows sandbox build fails

Updating this dependency resolves windows to 0.62.2, but src/cortex-windows-sandbox/src/job.rs:223 still passes a bare HANDLE to QueryInformationJobObject. That API now requires Option<HANDLE>, so the Windows-targeted sandbox build fails and Windows users cannot build the CLI from this revision. Update the call to pass Some(self.handle) before merging.

Artifacts

Evidence from the check

  • The executable script records and runs the exact pinned-toolchain cargo check from the repository root, providing the reproducible source of the validation.

Command output from the check

  • The captured command output shows the focused x86_64-pc-windows-gnu check exited 101 because job.rs passes HANDLE where windows 0.62.2 requires Option<HANDLE>, confirming the build-breaking incompatibility.

View artifacts

T-Rex Ran code and verified through T-Rex

"Win32_Foundation",
"Win32_Security",
"Win32_Security_Authorization",
Expand Down
Loading