#webassembly #wasm

wasmtime-cranelift

Integration between Cranelift and Wasmtime

44 releases (5 major breaking)

Uses new Rust 2021

new 5.0.0 Jan 20, 2023
4.0.0 Dec 21, 2022
3.0.1 Dec 1, 2022
3.0.0 Nov 21, 2022
0.21.0 Nov 5, 2020

#68 in WebAssembly

Download history 36663/week @ 2022-10-07 33567/week @ 2022-10-14 32287/week @ 2022-10-21 30926/week @ 2022-10-28 35631/week @ 2022-11-04 35757/week @ 2022-11-11 32440/week @ 2022-11-18 32094/week @ 2022-11-25 30316/week @ 2022-12-02 31637/week @ 2022-12-09 28956/week @ 2022-12-16 18031/week @ 2022-12-23 20657/week @ 2022-12-30 33588/week @ 2023-01-06 33483/week @ 2023-01-13 36291/week @ 2023-01-20

127,768 downloads per month
Used in 89 crates (2 directly)

Apache-2.0 WITH LLVM-exception

7MB
185K SLoC

Rust 118K SLoC // 0.1% comments WebAssembly 68K SLoC // 0.0% comments

lib.rs:

Support for compiling with Cranelift.

This crate provides an implementation of the wasmtime_environ::Compiler and wasmtime_environ::CompilerBuilder traits.

Dependencies

~9.5MB
~216K SLoC