Skip to content

Dynamic winio selection for testsuite#613

Merged
Mistuke merged 7 commits intohaskell:masterfrom
Mistuke:dynamic-winio
May 3, 2026
Merged

Dynamic winio selection for testsuite#613
Mistuke merged 7 commits intohaskell:masterfrom
Mistuke:dynamic-winio

Conversation

@Mistuke
Copy link
Copy Markdown
Collaborator

@Mistuke Mistuke commented May 2, 2026

We need to know that the GHC being used is one with a fixed WinIO signal handling.

To do that we need to test a CPP macro and this is the only way I can think of, cabal doesn't have a way to do such dynamic flags as far as I know.

Also add a bunch of fixups to the accidental changes on MIO with the WINIO changes.

@Mistuke
Copy link
Copy Markdown
Collaborator Author

Mistuke commented May 2, 2026

@kazu-yamamoto can you think of a better way to do the configue check? this is the only thing I could think of.

@kazu-yamamoto
Copy link
Copy Markdown
Collaborator

@Mistuke I don't hit upon another solution. So, shall we merge this PR as is?

@Mistuke
Copy link
Copy Markdown
Collaborator Author

Mistuke commented May 3, 2026

@Mistuke I don't hit upon another solution. So, shall we merge this PR as is?

Yeah, I'll do it now

@Mistuke Mistuke merged commit ded14d2 into haskell:master May 3, 2026
10 checks passed
@Mistuke Mistuke deleted the dynamic-winio branch May 3, 2026 07:30
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.

2 participants