cranelift-module

Crates.iocranelift-module
lib.rscranelift-module
version0.112.3
sourcesrc
created_at2018-07-13 16:31:33.843453
updated_at2024-11-05 19:22:46.293637
descriptionSupport for linking functions and data with Cranelift
homepage
repositoryhttps://github.com/bytecodealliance/wasmtime
max_upload_size
id74049
size68,023
wasmtime-publish (github:bytecodealliance:wasmtime-publish)

documentation

https://docs.rs/cranelift-module

README

This crate provides module-level functionality, which allow multiple functions and data to be emitted with Cranelift and then linked together.

This crate is structured as an optional layer on top of cranelift-codegen. It provides additional functionality, such as linking, however users that require greater flexibility don't need to use it.

A module is a collection of functions and data objects that are linked together. The Module trait that defines a common interface for various kinds of modules. Most users will use one of the following Module implementations:

  • JITModule, provided by cranelift-jit, which JITs code to memory for direct execution.
  • ObjectModule, provided by cranelift-object, which emits native object files.
Commit count: 13801

cargo fmt