Stream: wamr

Topic: Show enabled features


view this post on Zulip Felix Lechner (Jun 21 2023 at 00:20):

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?

view this post on Zulip YAMAMOTO Takashi (Jun 21 2023 at 09:13):

iwasm --help lists the --dir option if and only if wasi is enabled.

view this post on Zulip Thomas Trenner (Jun 22 2023 at 08:17):

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