bytecodealliance / bytecodealliance/wit-bindgen

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

Open
#1,379 0 comments 0 reactions 1 assignee Claimed by @pchickey View on GitHub
gen-rust
Dominant language
Rust
Stars
1.5k
Forks
286
Avg merge
6h 32m
Merged PRs (30d)
19

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.