21 releases (9 stable)
| 2.3.0 | Jun 6, 2022 |
|---|---|
| 2.2.1 | Mar 16, 2022 |
| 2.2.0 | Feb 28, 2022 |
| 2.1.1 | Dec 21, 2021 |
| 1.0.0-alpha5 | Nov 6, 2020 |
#2504 in WebAssembly
47,126 downloads per month
Used in 82 crates
(9 directly)
795KB
16K
SLoC
wasmer-engine

This crate is the general abstraction for creating Engines in Wasmer.
Wasmer Engines are mainly responsible for two things:
- Transform the compilation code (from any Wasmer Compiler) to
create an
Artifact, - Load an
Artifactso it can be used by the user (normally, pushing the code into executable memory and so on).
It currently has three implementations:
- Universal with
wasmer-engine-universal, - Native with
wasmer-engine-dylib, - Object with
wasmer-engine-staticlib.
Example Implementation
Please check wasmer-engine-dummy for an example implementation for
an Engine.
Acknowledgments
This project borrowed some of the code of the trap implementation from
the wasmtime-api, the code since then has evolved significantly.
Please check Wasmer ATTRIBUTIONS to further see licenses and other
attributions of the project.
Dependencies
~6–18MB
~200K SLoC