This PR adds options to uvwasi_init() to allow setting the stdio file descriptors. This will allow embedders like Node.js to run multiple WASI applications in the same process without sharing stdio.
Unfortunately, Windows doesn't seem to like the use of the names stdin, stdout, and stderr as struct members, which is why I went with in, out, and err.
This PR adds options to
uvwasi_init()
to allow setting the stdio file descriptors. This will allow embedders like Node.js to run multiple WASI applications in the same process without sharing stdio.Unfortunately, Windows doesn't seem to like the use of the names
stdin
,stdout
, andstderr
as struct members, which is why I went within
,out
, anderr
.