Hi, I have a standard Linux product-mini
but cannot access files on the host system, not even with --dir. Do I have to load or enable any WASI modules? I think they should be included. Can iwasm
report which features are enabled?
iwasm --help
lists the --dir
option if and only if wasi is enabled.
You should build iwasm with -DWAMR_BUILD_LIBC_WASI. Afaik, the builtin_libc does not provide a file api.
Last updated: Nov 22 2024 at 17:03 UTC