Stream: wit-bindgen

Topic: Rename crate folders


view this post on Zulip Bailey Hayes (Jun 21 2022 at 18:21):

Signal boosting this proposed change: https://github.com/bytecodealliance/wit-bindgen/issues/244

TLDR: name change to clarify what is guest vs host bindings.
Guest: gen-<lang>-guest
Host: gen-<lang>-host-<embedding>

We need to lock-in create names before beginning to cut releases and publish crates.

One thing I've noticed that is a "gotcha" for people exploring and using wit-bindgen is that it doesn't consistently use the guest/host terminology throughout its crate folders an...

view this post on Zulip Robin Brown (Jun 21 2022 at 19:09):

Another option also in that issue is to use
Guest: gen-guest-<lang>
Host: gen-host-<embedding>-<lang>
The difference between them is really just whether we want to group guest bindings and host bindings, or bindings for the same language.


Last updated: Nov 22 2024 at 17:03 UTC