New
v0.4.9
- Structured WebAssembly/WASI tracing.
- Check out
d_m3EnableStraceflag and the demo ofwasm3-straceutility.
- Check out
- Backtrace recording on
traps(by @t-veor). - Support exported functions with multiple names (by @atdrendel)
- Support recursive
m3_Callinvocation. I.e. calling exported function from within imported function callback. pywasm3Python module is released. See some colorful examples 😎- New API:
- Exported function signature introspection:
m3_GetArgCount,m3_GetRetCount,m3_GetArgType,m3_GetRetType - Introspection of imported functions (see
IM3ImportContext _ctxargument) - Calls with raw arguments, instead of strings:
m3_CallV,m3_CallVL,m3_Call - Warning:
m3_CallWithArgsrenamed tom3_CallArgv - Get return values:
m3_GetResultsV,m3_GetResultsVL,m3_GetResults - Get backtrace:
m3_GetBacktrace - Helpers:
m3_GetFunctionName,m3_GetModuleName,m3_GetFunctionModule,m3_GetModuleRuntime m3_RunStartcan (optionally) be used to force the dynamic module initialization.
- Exported function signature introspection:
- Build system:
- Add
BUILD_NATIVEflag (ON by default). - Remove
d_m3LogOutput,USE_HUMAN_FRIENDLY_ARGS, and other misleading flags. ESP32-C3supportRaspberry Pi Pico (RP2040)support
- Add
- WASI:
- Improved security via
m3ApiCheckMem - Whence fixes (by @sinkingsugar)
- Cosmopolitan Libc support (by @jart)
- Improved security via
- Fix some memory leaks, parse errors, etc.
- Updated docs
👉 If you like Wasm3, please give us a GitHub star! 🌟