home.social

#wasip2 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #wasip2, aggregated by home.social.

  1. When I use cargo component new to build a CLI component for Rust/Wasm/Wit, the cargo component build step will automatically translate a main function to .e.g. wasi:cli/run or println! statements to the according stream functions from the wasi world. With wasm-tools component wit I can even inspect a generated with world, though none was supplied. I would llike to know more about the magic involved. Is that documented somewhere, is this something carfgo component does, or is it coming from wit-bindgen? Any help or pointers appreciated.

    #rust #wasm #wit #wasi #wasip2 #cargo #componentmodel