Skip to content

[codex] Fix Windows sandbox build script lint#26445

Merged
pakrym-oai merged 1 commit into
mainfrom
pakrym/full-ci-fix-main-lint
Jun 4, 2026
Merged

[codex] Fix Windows sandbox build script lint#26445
pakrym-oai merged 1 commit into
mainfrom
pakrym/full-ci-fix-main-lint

Conversation

@pakrym-oai
Copy link
Copy Markdown
Collaborator

Why

The Windows ARM64 Cargo clippy job on main is failing because workspace lints deny clippy::expect_used, and the codex-windows-sandbox build script used expect() while reading CARGO_MANIFEST_DIR.

What changed

codex-rs/windows-sandbox-rs/build.rs now returns Result<(), String> from main() and converts a missing CARGO_MANIFEST_DIR into an explicit build-script error. The non-Windows early return and Windows linker argument behavior are unchanged.

Verification

  • just clippy -p codex-windows-sandbox -- -D warnings
  • just test -p codex-windows-sandbox

@pakrym-oai pakrym-oai marked this pull request as ready for review June 4, 2026 19:12
@pakrym-oai pakrym-oai enabled auto-merge (squash) June 4, 2026 19:15
@pakrym-oai pakrym-oai merged commit 555f8ca into main Jun 4, 2026
91 of 113 checks passed
@pakrym-oai pakrym-oai deleted the pakrym/full-ci-fix-main-lint branch June 4, 2026 20:03
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants