| Crates.io | wit-bindgen-rt |
| lib.rs | wit-bindgen-rt |
| version | 0.44.0 |
| created_at | 2024-03-01 21:41:06.168372+00 |
| updated_at | 2025-08-13 22:49:17.52866+00 |
| description | Internal runtime support for the `wit-bindgen` crate. |
| homepage | https://github.com/bytecodealliance/wit-bindgen |
| repository | https://github.com/bytecodealliance/wit-bindgen |
| max_upload_size | |
| id | 1159253 |
| size | 168,709 |
wit-bindgen-rtThis is an internal implementation detail of the wit-bindgen crate. The
source for this crate lives at https://github.com/bytecodealliance/wit-bindgen
and this crate is located in crates/guest-rust/rt folder. The purpose of this
crate is to contain "runtime" code related to the macro-expansion of the
wit_bindgen::generate! macro such that the wit-bindgen crate dependency can
be removed in some situations.
This crate contains a precompiled object file and archive at
src/wit_bindgen_cabi.o and src/libwit_bindgen_cabi.a. This is compiled
from the source src/wit_bindgen_cabi.c and is checked in as precompiled to
avoid needing a C compiler at compile-time which isn't always available. This
object file is only used on wasm targets.
The object file is compiled by [this script]https://github.com/bytecodealliance/wit-bindgen/blob/main/ci/rebuild-libwit-bindgen-cabi.sh) and is verified in repository continuous integration that the checked-in versions match what CI produces.