21 breaking releases

0.41.0 Mar 13, 2025
0.39.0 Feb 5, 2025
0.36.0 Nov 27, 2024
0.28.0 Jul 16, 2024
0.23.0 Mar 27, 2024

#1501 in WebAssembly

Download history 31967/week @ 2024-12-06 30401/week @ 2024-12-13 20248/week @ 2024-12-20 18733/week @ 2024-12-27 35053/week @ 2025-01-03 69262/week @ 2025-01-10 41867/week @ 2025-01-17 158493/week @ 2025-01-24 378464/week @ 2025-01-31 472902/week @ 2025-02-07 569459/week @ 2025-02-14 807291/week @ 2025-02-21 1074427/week @ 2025-02-28 1202831/week @ 2025-03-07 1270965/week @ 2025-03-14 1717353/week @ 2025-03-21

5,413,089 downloads per month
Used in 19,474 crates (10 directly)

Apache-2.0…

61KB
1.5K SLoC

Contains (static library, 1KB) src/libwit_bindgen_cabi_realloc.a

wit-bindgen-rt

This 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/cabi_realloc.o and src/libwit_bindgen_cabi_realloc.a. This is compiled from the source src/cabi_realloc.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-libcabi-realloc.sh) and is verified in repository continuous integration that the checked-in versions match what CI produces.

Dependencies

~170KB