1 stable release

2.4.1 Apr 26, 2024

#1396 in WebAssembly

Download history 47/week @ 2024-07-19 59/week @ 2024-07-26 34/week @ 2024-08-02 36/week @ 2024-08-09 49/week @ 2024-08-16 46/week @ 2024-08-23 42/week @ 2024-08-30 26/week @ 2024-09-06 47/week @ 2024-09-13 63/week @ 2024-09-20 39/week @ 2024-09-27 14/week @ 2024-10-04 18/week @ 2024-10-11 25/week @ 2024-10-18 16/week @ 2024-10-25 28/week @ 2024-11-01

87 downloads per month
Used in 2 crates

MIT OR Apache-2.0 WITH LLVM-exception

545KB
11K SLoC

wasmer-engine Build Status Join Wasmer Slack MIT License

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 anArtifact so it can be used by the user (normally, pushing the code into executable memory and so on).

It currently has three implementations:

  1. Universal with wasmer-engine-universal,
  2. Native with wasmer-engine-dylib,
  3. 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–15MB
~203K SLoC