nuttx-apps icon indicating copy to clipboard operation
nuttx-apps copied to clipboard

tools/Wasm.mk problems

Open yamt opened this issue 11 months ago • 5 comments

  • 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)

yamt avatar Sep 08 '23 09:09 yamt