4个版本
| 0.18.1 | 2021年7月23日 | 
|---|---|
| 0.18.0 | 2021年7月20日 | 
| 0.18.0-pre.1 | 2021年7月8日 | 
| 0.17.1 | 2020年10月28日 | 
#2032 in 魔法豆
13,604 每月下载量
用于  2 crates
1MB
 25K  SLoC
Wasmer单遍后端
Wasmer是一个独立的JIT WebAssembly运行时,旨在完全兼容Emscripten、Rust和Go。了解更多。
这个crate代表Wasmer的单遍后端集成。
用法
在Wasmer Standalone中的用法
如果您正在使用wasmer CLI,您可以使用以下命令指定后端:
wasmer run program.wasm --backend=singlepass
在Wasmer Embedded中的用法
如果您正在使用Wasmer Embedded,您可以将singlepass后端指定给compile_with函数
use wasmer_singlepass_backend::SinglepassCompiler;
// ...
let module = wasmer_runtime_core::compile_with(&wasm_binary[..], &SinglepassCompiler::new());
依赖
~10MB
~209K SLoC
