wit-bindgen
wit-bindgen copied to clipboard
Rust: generated bindings include `mod _rt`, should just use `wit-bindgen::rt`
The generated mod _rt {...} is from when we thought we could get away with not having wit-bindgen runtime in Rust, but that design changed a while ago. We should put all of the things that end up in the generated mod _rt into crates/guest-rust/src/rt/mod.rs, and change the generator to refer to them there.