apache / nuttx-apps

Apache NuttX Apps is a collection of tools, shells, network utilities, libraries, interpreters and can be used with the NuttX RTOS
https://nuttx.apache.org/
Apache License 2.0
273 stars 521 forks source link

tools/Wasm.mk problems #2046

Open yamt opened 1 year ago

yamt commented 1 year ago

my proposal: remove it

an alternative:

anchao commented 1 year ago

@yamt We are not using the implementation of wasi/wasi-libc. We have a python script to parse nuttx csv files(syscall/libc/libm) to automatically generate nuttx syscall/libc/libm glue codes. Currently, this feature works as expected without boundary checking in wamr, but it still needs some work if enable boundary check.

yamt commented 1 year ago

@yamt We are not using the implementation of wasi/wasi-libc. We have a python script to parse nuttx csv files(syscall/libc/libm) to automatically generate nuttx syscall/libc/libm glue codes. Currently, this feature works as expected without boundary checking in wamr, but it still needs some work if enable boundary check.

where can i find the python script?

anchao commented 1 year ago

where can i find the python script?

I will upload a draft ASAP

yamt commented 1 year ago

why do you prefer the "no sandbox" approach? doesn't it spoil many of benefits of wasm?

no1wudi commented 1 year ago

@yamt Please refer to this PR https://github.com/apache/nuttx-apps/pull/2058