5 releases

4.4.0-linera.6 Nov 1, 2024
4.4.0-linera.5 Oct 8, 2024
4.3.6-linera.4 Sep 24, 2024
4.3.6-linera.3 Aug 29, 2024
4.3.1-linera.2 Jun 7, 2024

#158 in WebAssembly

Download history 324/week @ 2024-10-25 1112/week @ 2024-11-01 790/week @ 2024-11-08 896/week @ 2024-11-15 1500/week @ 2024-11-22 2036/week @ 2024-11-29 987/week @ 2024-12-06 825/week @ 2024-12-13 233/week @ 2024-12-20 114/week @ 2024-12-27 376/week @ 2025-01-03 448/week @ 2025-01-10 664/week @ 2025-01-17 285/week @ 2025-01-24 821/week @ 2025-01-31 1030/week @ 2025-02-07

2,860 downloads per month
Used in 7 crates (via linera-wasmer)

MIT license

735KB
15K SLoC

wasmer-compiler-cranelift Build Status Join Wasmer Slack MIT License crates.io

This crate contains a compiler implementation based on Cranelift.

Usage

use wasmer::{Store, EngineBuilder};
use wasmer_compiler_cranelift::Cranelift;

let compiler = Cranelift::new();
let mut store = Store::new(compiler);

Note: you can find a full working example using Cranelift compiler here.

When to use Cranelift

We recommend using this compiler crate only for development proposes. For production we recommend using wasmer-compiler-llvm as it offers a much better runtime speed (50% faster on average).

Acknowledgments

This project borrowed some of the function lowering from cranelift-wasm.

Please check Wasmer ATTRIBUTIONS to further see licenses and other attributions of the project.

Dependencies

~16–25MB
~417K SLoC