Skip to content

Enable Windows libxev poller path#441

Closed
heartwilltell wants to merge 3 commits into
mainfrom
codex/runtime-windows-libxev
Closed

Enable Windows libxev poller path#441
heartwilltell wants to merge 3 commits into
mainfrom
codex/runtime-windows-libxev

Conversation

@heartwilltell

Copy link
Copy Markdown
Contributor

Summary

  • enable the libxev Windows IOCP path in the runtime bridge by converting CRT fds to Windows handles and using one-shot overlapped completions for read/write readiness
  • install the Windows runxev bridge as a Zig-built static library instead of trying to archive COFF objects with host ar
  • add Windows named-pipe poller smoke coverage and remove the legacy poller's silent unsupported-platform stub

Fixes #407

Dependency

Validation

  • zig fmt build.zig src/runtime/run_xev_bridge.zig
  • clang-format -i src/runtime/tests/test_poller.c src/runtime/run_poller_legacy.c
  • zig build
  • zig build test (passes; emits the expected bad_check.run missing-symbol diagnostic)
  • zig build test-runtime (82/82)
  • zig build -Dtarget=x86_64-windows-gnu (expected failure in Port scheduler to Windows (threads, TLS, timers) #406-owned scheduler/platform symbols: __declspec(align), sysconf, DWORD_PTR, SetThreadAffinityMask; no libxev bridge File.initFd or COFF archive failure remains)

@heartwilltell heartwilltell self-assigned this Apr 26, 2026
@heartwilltell heartwilltell marked this pull request as ready for review April 26, 2026 21:50
Signed-off-by: Serhii Mariiekha <heartwilltell@gmail.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Apr 26, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
runlang 4573a46 Commit Preview URL

Branch Preview URL
Apr 26 2026, 09:52 PM

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable libxev Windows backend (IOCP)

1 participant