Skip to content

Rust: generated bindings include mod _rt, should just use wit-bindgen::rt #1379

@pchickey

Description

@pchickey

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.

Metadata

Metadata

Assignees

Labels

gen-rustRelated to bindings for Rust-compiled-to-WebAssembly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions