1#![deny(missing_docs)]
11#![warn(clippy::cast_sign_loss)]
12#![no_std]
13
14#[cfg(feature = "std")]
15#[macro_use]
16extern crate std;
17extern crate alloc;
18
19pub mod prelude;
20
21mod address_map;
22#[macro_use]
23mod builtin;
24mod demangling;
25mod error;
26mod ext;
27mod gc;
28mod hostcall;
29mod module;
30mod module_artifacts;
31mod module_types;
32pub mod obj;
33mod ref_bits;
34mod scopevec;
35mod stack_map;
36mod trap_encoding;
37mod tunables;
38mod types;
39mod vmoffsets;
40
41pub use self::ext::*;
42pub use crate::address_map::*;
43pub use crate::builtin::*;
44pub use crate::demangling::*;
45pub use crate::error::*;
46pub use crate::gc::*;
47pub use crate::hostcall::*;
48pub use crate::module::*;
49pub use crate::module_artifacts::*;
50pub use crate::module_types::*;
51pub use crate::ref_bits::*;
52pub use crate::scopevec::ScopeVec;
53pub use crate::stack_map::*;
54pub use crate::trap_encoding::*;
55pub use crate::tunables::*;
56pub use crate::types::*;
57pub use crate::vmoffsets::*;
58pub use object;
59
60pub use wasmparser;
61
62#[cfg(feature = "compile")]
63mod compile;
64#[cfg(feature = "compile")]
65pub use crate::compile::*;
66
67#[cfg(feature = "component-model")]
68pub mod component;
69#[cfg(all(feature = "component-model", feature = "compile"))]
70pub mod fact;
71
72pub use cranelift_entity::*;
76
77pub const VERSION: &str = env!("CARGO_PKG_VERSION");