nuttx-apps
nuttx-apps copied to clipboard
tools/Wasm.mk problems
- the idea to build wasm modules using nuttx headers is broken
- it produces very WAMR specific modules (it seems targeting WAMR's LIBC_BUILTIN). if we want to build wasm modules, it's better to target wasm32-wasi.
- WCC detection is broken. for example, github ubuntu-22.04 runners have /bin/clang, which confuses the detection.
- CONFIG_INTERPRETERS_WASM vs CONFIG_INTERPRETERS_WASM3 typo
my proposal: remove it
an alternative:
- target it to wasm32-wasi
- have an explicit config to enable it (disable it by default)