Skip to content

Stub out runProcess.c on wasm32#366

Merged
tomjaguarpaw merged 2 commits into
masterfrom
wip/357
May 12, 2026
Merged

Stub out runProcess.c on wasm32#366
tomjaguarpaw merged 2 commits into
masterfrom
wip/357

Conversation

@wz1000

@wz1000 wz1000 commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

Also bump base upper bound to < 4.24 for GHC 10.0

I can open a new MR for the base bound bump, but since we don't have CI setup
for wasm32-wasi, it was more convienent to have both changes in a single branch so that
this change can be tested on GHC CI: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/15978

Fixes #357

@MangoIV

MangoIV commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

Looks good to me.
I think I would like this commit message

The Haskell side callers of this file are already stubbed out on this platform.

adjusted with a permalink to the respective haskell side caller.

@tomjaguarpaw

Copy link
Copy Markdown
Member

Hi @wz1000, what do you think of @MangoIV's idea, or at least leaving a comment explaining why this is disabled on wasm32?

wz1000 added 2 commits May 5, 2026 10:19
(cherry picked from commit 72e5b7c75a17f543262674259b2ebf4a3bda390c)
@wz1000

wz1000 commented May 5, 2026

Copy link
Copy Markdown
Contributor Author

I have added a comment and amended the commit message.

@MangoIV

MangoIV commented May 5, 2026

Copy link
Copy Markdown
Contributor

Neat, thanks @wz1000, looks good to me then.

@tomjaguarpaw

Copy link
Copy Markdown
Member

Thanks, will merge this soon unless @bgamari objects

@tomjaguarpaw tomjaguarpaw merged commit 8719044 into master May 12, 2026
100 checks passed
@tomjaguarpaw tomjaguarpaw deleted the wip/357 branch May 12, 2026 14:55
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.

On process 1.6.27.0, sys/wait.h is included unconditionally which breaks builds on wasm32-wasi

3 participants