qsc_cranelift_jit/lib.rs
1//! Top-level lib.rs for `cranelift_jit`.
2//!
3//! There is an [example project](https://github.com/bytecodealliance/cranelift-jit-demo/)
4//! which shows how to use some of the features of `cranelift_jit`.
5
6#![deny(
7 missing_docs,
8 trivial_numeric_casts,
9 unused_extern_crates,
10 unstable_features,
11 unreachable_pub
12)]
13#![warn(unused_import_braces)]
14
15mod backend;
16mod compiled_blob;
17mod memory;
18
19pub use crate::backend::{JITBuilder, JITModule};
20
21/// Version number of this crate.
22pub const VERSION: &str = env!("CARGO_PKG_VERSION");