You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/12/02 04:15:16 UTC

[GitHub] [nuttx] yamt opened a new pull request, #7756: esp32-devkitc/wamr_wasi_debug: enable native-lib stuff

yamt opened a new pull request, #7756:
URL: https://github.com/apache/nuttx/pull/7756

   ## Summary
   
   * enable DLFCN.
   
   * bump WAMR to a version which i happened to test.
   
   * enable bulk-memory because it's required by recent versions of wasi-sdk, which i happened to use to build a test module. (test.wasm in the log below.)
   
   ## Impact
   
   ## Testing
   
   Lightly tested with a stripped down version of WAMR native-lib example. [1]
   
   ```
   nsh> mount -t littlefs /dev/esp32flash /mnt
   nsh> iwasm --native-lib=/mnt/test_add.o /mnt/test.wasm
   Hello World!
   10 + 20 = 30
   nsh> iwasm /mnt/test.wasm
   [00:00:23:000 - 6]: warning: failed to link import function (env, test_add)
   Hello World!
   Exception: failed to call unlinked import function (env, test_add)
   nsh>
   ```
   
   [1] https://github.com/bytecodealliance/wasm-micro-runtime/tree/main/samples/native-lib
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] xiaoxiang781216 merged pull request #7756: esp32-devkitc/wamr_wasi_debug: enable native-lib stuff

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #7756:
URL: https://github.com/apache/nuttx/pull/7756


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org