Skip to content

fix(workflow-js): generate Windows GNU LLVM bindings - #7139

Merged
Hmbown merged 3 commits into
codewhale-hq:mainfrom
Pinvou:codex/windows-gnullvm-bindings
Nov 2, 2026
Merged

Hmbown merged 3 commits into
codewhale-hq:mainfrom
Pinvou:codex/windows-gnullvm-bindings

Conversation

@zhuowp

@zhuowp zhuowp commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

No-Issue: Fixes the missing bundled bindings for the Windows GNU LLVM target; no matching tracked issue was found.

The default workflow-js build on x86_64-pc-windows-gnullvm tries to include a bundled rquickjs-sys binding file that is absent from the locked crate. Enable the existing bindgen feature in a target-specific dependency, following the existing platform configuration pattern. Other Windows target environments keep their existing selection. This is a standalone three-line manifest change with no dependency-version or lockfile changes.

Validation on base 4d600eaae with Rust 1.98.1, native x64 Windows GNU LLVM and libclang 18.1.1:

  • Default workflow-js library check passed, without extra Cargo feature flags.
  • Existing QuickJS VM integration tests: 83 passed, 0 failed. These use the in-process test driver, without external providers or services.
  • Removing the same cfg on the earlier base reproduced the missing-target-bindings failure. The workflow-js sources, workspace manifest and lockfile are identical between those bases; that negative control is inherited explicitly.
  • The locked rquickjs-sys source has no extra prebuilt gnullvm binding. Generated-binding evidence is from the same local toolchain; the new-base checks reuse its Cargo cache.

ARM64 execution, cross-host sysroots and other libclang configurations remain unverified. CI qualification, full application integration and release acceptance are separate.

Merge qualification, November 2, 2026 UTC: the earlier baseline CI failures are resolved in the current branch. At 74f24fc50446ce615d036d6d651c8b2a38615845, all three required contexts pass: Lint, Test (windows-latest), and npm wrapper smoke (ubuntu-latest). Current original-PR CI run. The Ubuntu test job remains in progress; no completed job has failed.

Independent retained macOS cross compilation passed for the unchanged workflow-js sources and manifest on x86_64-pc-windows-gnullvm, with a COFF-x86-64 QuickJS object. Removing only this target cfg reproduced the missing bundled-binding error. All 124 selected registry versions/checksums still match the current PR lock. This is cross-compilation evidence, not independent native Windows execution; the 83 native checks above remain contributor-reported. Integrated application, supported-OS and package release qualification remain open.

Select the existing rquickjs bindgen feature only for the Windows GNU LLVM target, which has no bundled bindings. Reuse the existing platform-specific dependency configuration.

Validated on x86_64-pc-windows-gnullvm with Rust 1.98.1 and isolated libclang 18.1.1: default library check passed; existing VM integration tests: 83 passed, 0 failed. Removing the cfg reproduces the missing-target-bindings build failure. ARM64 execution and cross-host builds remain unverified.

Signed-off-by: Codex <codex@openai.com>
@github-actions github-actions Bot added the contribution-gate Author not yet in .github/APPROVED_CONTRIBUTORS; a maintainer grants access with /lgtm label Oct 29, 2026
@Hmbown
Hmbown marked this pull request as ready for review November 2, 2026 22:27
@Hmbown
Hmbown self-requested a review as a code owner November 2, 2026 22:27
Copilot AI balanced review requested due to automatic review settings November 2, 2026 22:27

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@Hmbown
Hmbown merged commit 7ec9fdd into codewhale-hq:main Nov 2, 2026
29 of 30 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

There are no active review issues for the Windows GNU LLVM–specific binding-generation change.

No open issues 🎉

What changed in this PR

Fixes the workflow-js build on Windows GNU LLVM targets by generating rquickjs bindings instead of relying on missing bundled bindings.

Changes:

  • Enables rquickjs’s existing bindgen feature specifically for Windows GNU LLVM targets.
  • Leaves other target selections, dependency versions, and the lockfile unchanged.
File Description
crates/​workflow-js/​Cargo.toml Adds a target-specific dependency entry enabling binding generation for Windows GNU LLVM.

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution-gate Author not yet in .github/APPROVED_CONTRIBUTORS; a maintainer grants access with /lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants