You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this version, Wasm modules can now return any output type via stdout, including binaries with non UTF-8 bytes sequences or \0 NULL terminators in the middle.
Also added some minor improvements for error management and building scripts.
mod_wasm.so
Support for the new wasm_executionctx_run() signature in the wasm_runtime C-API.
Better error management when invoking ap_scan_script_header_err_strs().
Now the Wasm module stdout is modelled as a Vec<u8> instead of a String:
This prevents an exception when a module emits a non UTF-8 output.
New signature for wasm_executionctx_run() in the C-API now requires buffer and length pointers:
This allows NULL terminators (\0) in the middle of the output to be managed by C without truncating the string (ie.: requires fwrite() instead of fprintf(), etc.).
Better clean_all target in Makefile.
Dependencies:
Bump version dependencies:
wasmtime to 7.0.0.
anyhow to 1.0.70.
Updated cargo.lock dependencies via cargo update.
httpd-mod-wasm demo container
Enabling mod_rewrite.
Adding /php-hello-slim demo.
Adding WasmEnv TMPDIR /tmp directive to all PHP-related demos.
Adding stubs for Drupal and Drupal-Zero demos (still WIP).