Notes on writing Rust-based Wasm