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 stack_switching;
37mod trap_encoding;
38mod tunables;
39mod types;
40mod vmoffsets;
41
42pub use self::ext::*;
43pub use crate::address_map::*;
44pub use crate::builtin::*;
45pub use crate::demangling::*;
46pub use crate::error::*;
47pub use crate::gc::*;
48pub use crate::hostcall::*;
49pub use crate::module::*;
50pub use crate::module_artifacts::*;
51pub use crate::module_types::*;
52pub use crate::ref_bits::*;
53pub use crate::scopevec::ScopeVec;
54pub use crate::stack_map::*;
55pub use crate::stack_switching::*;
56pub use crate::trap_encoding::*;
57pub use crate::tunables::*;
58pub use crate::types::*;
59pub use crate::vmoffsets::*;
60pub use object;
61
62pub use wasmparser;
63
64#[cfg(feature = "compile")]
65mod compile;
66#[cfg(feature = "compile")]
67pub use crate::compile::*;
68
69#[cfg(feature = "component-model")]
70pub mod component;
71#[cfg(all(feature = "component-model", feature = "compile"))]
72pub mod fact;
73
74pub use cranelift_entity::*;
78
79pub const VERSION: &str = env!("CARGO_PKG_VERSION");