Browse Source
If stdio is not inherited nor associated with a file, WasiCtxBuilder tries to open "/dev/null" ("NUL" on Windows) and attach stdio to it. While most platforms today support those device files, it would be good to avoid unnecessary access to the host device if possible. This patch instead uses a virtual Handle that emulates the "NUL" device.pull/1855/head
Daiki Ueno
4 years ago
6 changed files with 67 additions and 38 deletions
Loading…
Reference in new issue