wasmer-engine-unc

Crates.iowasmer-engine-unc
lib.rswasmer-engine-unc
version2.4.1
sourcesrc
created_at2024-04-07 14:33:03.926502
updated_at2024-04-08 05:33:38.761296
descriptionWasmer Engine abstraction
homepage
repositoryhttps://github.com/wasmerio/wasmer
max_upload_size
id1199207
size41,599
Terrill Tsang (fadeAce)

documentation

README

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.

Commit count: 17039

cargo fmt