1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Top-level lib.rs for `cranelift_jit`.
//!
//! There is an [example project](https://github.com/bytecodealliance/cranelift-jit-demo/)
//! which shows how to use some of the features of `cranelift_jit`.

#![deny(missing_docs, unreachable_pub)]

mod backend;
mod compiled_blob;
mod memory;

pub use crate::backend::{JITBuilder, JITModule};

/// Version number of this crate.
pub const VERSION: &str = env!("CARGO_PKG_VERSION");