wasmtime_jit/
lib.rs

1//! JIT-style runtime for WebAssembly using Cranelift.
2
3#![deny(missing_docs, trivial_numeric_casts, unused_extern_crates)]
4#![warn(unused_import_braces)]
5#![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
6#![cfg_attr(
7    feature = "cargo-clippy",
8    allow(clippy::new_without_default, clippy::new_without_default)
9)]
10#![cfg_attr(
11    feature = "cargo-clippy",
12    warn(
13        clippy::float_arithmetic,
14        clippy::mut_mut,
15        clippy::nonminimal_bool,
16        clippy::map_unwrap_or,
17        clippy::clippy::print_stdout,
18        clippy::unicode_not_nfc,
19        clippy::use_self
20    )
21)]
22
23mod code_memory;
24mod debug;
25mod demangling;
26mod instantiate;
27mod profiling;
28mod unwind;
29
30pub use crate::code_memory::CodeMemory;
31pub use crate::instantiate::{
32    subslice_range, CompiledModule, CompiledModuleInfo, ObjectBuilder, SymbolizeContext,
33};
34pub use demangling::*;
35pub use profiling::*;
36
37/// Version number of this crate.
38pub const VERSION: &str = env!("CARGO_PKG_VERSION");