wasi preopens?
xdBronch opened this issue · comments
xdBronch commented
is it currently possible to pass custom preopens when running wasm files? if not is there any possibility of this? some programs expect specific preopens to be present which means they dont work in a-shell
Nicolas Holzschuch commented
The file that loads wasm files is $APPDIR/wasm.html
, which loads $APPDIR/require.js
and $APPDIR/wasm.js
.
You can customize loading webAssembly files if you want, by copying wasm.js
to your home directory and editing it to your desires, then executing it with jsc wasm.js
.
Let me know if you require more assistance.
xdBronch commented
thanks i didnt realize you could do that, i think thats good enough