Skip to content

Refactor the Windows native spec fixture to use ev_wrap.h - #129

Merged
Watson1978 merged 1 commit into
socketry:mainfrom
Watson1978:native-fixture-ev-wrap
Oct 22, 2026
Merged

Watson1978 merged 1 commit into
socketry:mainfrom
Watson1978:native-fixture-ev-wrap

Conversation

@Watson1978

Copy link
Copy Markdown
Collaborator

The Windows native spec fixture defined its own copy of the libev configuration, so settings added to ext/cool.io/ev_wrap.h, such as the evpipe handling from #128, did not reach the libev that it tests. This includes libev.c, which builds libev for the extension, and drops ext/libev from the include path so that ev_wrap.h cannot resolve to the generated header of the same name there. With EV_WIN32_STAT_CODEPAGE in ev_wrap.h changed to CP_ACP, the native spec now fails, while it passed before this change.

Types of Changes

  • Maintenance.

Contribution

🤖 Generated with Claude Code

The fixture defined its own copy of the libev configuration, so
settings added to ev_wrap.h, such as the evpipe handling from socketry#128,
did not reach the libev that it tests. Include libev.c, which builds
libev for the extension, instead. Drop ext/libev from the include path
as well, so that ev_wrap.h cannot resolve to the generated header of
the same name in ext/libev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Watson1978
Watson1978 merged commit be11d06 into socketry:main Oct 22, 2026
15 checks passed
@Watson1978
Watson1978 deleted the native-fixture-ev-wrap branch October 22, 2026 01:00
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.

1 participant