1 stable release

2.4.1 Apr 26, 2024

#1333 in WebAssembly

Download history 205/week @ 2024-05-20 209/week @ 2024-05-27 140/week @ 2024-06-03 92/week @ 2024-06-10 57/week @ 2024-06-17 55/week @ 2024-06-24 21/week @ 2024-07-01 21/week @ 2024-07-08 65/week @ 2024-07-15 30/week @ 2024-07-22 61/week @ 2024-07-29 32/week @ 2024-08-05 51/week @ 2024-08-12 35/week @ 2024-08-19 61/week @ 2024-08-26 22/week @ 2024-09-02

170 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

~5–14MB
~180K SLoC