alexcrichton-cranelift-module

Crates.ioalexcrichton-cranelift-module
lib.rsalexcrichton-cranelift-module
version0.53.0
sourcesrc
created_at2020-01-10 21:39:49.235037
updated_at2020-01-10 22:23:42.607514
descriptionSupport for linking functions and data with Cranelift
homepage
repositoryhttps://github.com/bytecodealliance/cranelift
max_upload_size
id197327
size54,666
Alex Crichton (alexcrichton)

documentation

https://cranelift.readthedocs.io/

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. Backend is a trait that defines an interface for backends that compile modules into various forms. Most users will use one of the following Backend implementations:

  • SimpleJITBackend, provided by cranelift-simplejit, which JITs code to memory for direct execution.
  • FaerieBackend, provided by cranelift-faerie, which emits native object files.
Commit count: 3099

cargo fmt