28个版本 (14个破坏性版本)
| 0.17.1 | 2020年6月24日 | 
|---|---|
| 0.16.2 | 2020年3月12日 | 
| 0.12.0 | 2019年12月19日 | 
| 0.11.0 | 2019年11月24日 | 
| 0.5.7 | 2019年7月23日 | 
1536 in WebAssembly
402 每月下载量
在 8 个包中使用 (直接使用2个)
1MB
 25K  SLoC
Wasmer单遍后端
Wasmer是一个独立的JIT WebAssembly运行时,旨在完全兼容Emscripten、Rust和Go。 了解更多。
此包表示Wasmer的单遍后端集成。
用法
在Wasmer Standalone中的用法
如果您使用的是 wasmer CLI,您可以使用以下方式指定后端:
wasmer run program.wasm --backend=singlepass
在Wasmer嵌入式中的用法
如果您使用Wasmer嵌入式,您可以将单遍后端指定给 compile_with 函数
use wasmer_singlepass_backend::SinglepassCompiler;
// ...
let module = wasmer_runtime_core::compile_with(&wasm_binary[..], &SinglepassCompiler::new());
依赖项
~8.5MB
~178K SLoC
