mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-28 18:50:53 +00:00
After the addition of the rust-std-static-wasm32-wasi target, we're able to compile the Rust programs to Wasm binaries. However, we're still only able to handle the Wasm UDFs in the Text format, so we need a tool to translate the .wasm files to .wat. Additionally, the .wasm files generated by default are unnecessarily large, which can be helped using wasm-opt and wasm-strip. The tool for translating wasm to wat (wasm2wat), and the tool for stripping the wasm binaries (wasm-strip) are included in the `wabt` package, and the optimization tool (wasm-opt) is included in the `binaryen` package. Both packages are added to install-dependencies.sh Closes #13282 [avi: regenerate frozen toolchain] Closes #13605