Skip to content

c-api: wasip2: Inherit stdin and stderr, append arguments #11172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

MangoPeachGrape
Copy link
Contributor

Some more WASIP2 APIs that I needed while test embedding the C-API.

I've also been thinking that a in memory pipe for stdio would be very useful.
I see wasmtime_wasi::p2::MemoryOutputPipe, would it make sense to create C bindings for it? Also, does reading from the pipe remove the content from the pipe?


I'll also try to get to the resource values at some point...

@MangoPeachGrape MangoPeachGrape requested a review from a team as a code owner July 1, 2025 19:46
@MangoPeachGrape MangoPeachGrape requested review from fitzgen and removed request for a team July 1, 2025 19:46
@alexcrichton alexcrichton added this pull request to the merge queue Jul 1, 2025
Merged via the queue into bytecodealliance:main with commit 9d94351 Jul 1, 2025
44 checks passed
@MangoPeachGrape MangoPeachGrape deleted the c-api/wasip2/moree branch July 2, 2025 10:18
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