Skip to content

Stub out runProcess.c on wasm32#366

Open
wz1000 wants to merge 2 commits intomasterfrom
wip/357
Open

Stub out runProcess.c on wasm32#366
wz1000 wants to merge 2 commits intomasterfrom
wip/357

Conversation

@wz1000
Copy link
Copy Markdown
Contributor

@wz1000 wz1000 commented Apr 29, 2026

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
Copy link
Copy Markdown
Contributor

MangoIV commented Apr 29, 2026

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
Copy link
Copy Markdown
Contributor Author

wz1000 commented May 5, 2026

I have added a comment and amended the commit message.

@MangoIV
Copy link
Copy Markdown
Contributor

MangoIV commented May 5, 2026

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

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