I started to investigate an integration with wabt. So far I have just the tiniest start with an implementation , just hooking up proc_exit:
WebAssembly/wabt#1411
I had a couple of questions:
-
What do you think is the best way for a project like wabt to build against uvwasi. The approach I took was to use add_subdirectory. However that resulted in an error because both uvwasi and wabt both define the custom check target. I hacked that target out locally and it seems to work.
-
Do users of uvwasi actually need the uv.h headers? Currently the public headers for uvwasi include the headers from the uv project. Perhaps that is unavoidable? It does mean that downstream projects need to add more include paths so it could be removed that would be a win.
I started to investigate an integration with wabt. So far I have just the tiniest start with an implementation , just hooking up proc_exit:
WebAssembly/wabt#1411
I had a couple of questions:
What do you think is the best way for a project like wabt to build against uvwasi. The approach I took was to use
add_subdirectory. However that resulted in an error because both uvwasi and wabt both define the customchecktarget. I hacked that target out locally and it seems to work.Do users of uvwasi actually need the
uv.hheaders? Currently the public headers foruvwasiinclude the headers from theuvproject. Perhaps that is unavoidable? It does mean that downstream projects need to add more include paths so it could be removed that would be a win.