xref: /wasmtime-44.0.1/crates/core/src/lib.rs (revision 59d23a35)
1 //! > **⚠️ Warning ⚠️**: this crate is an internal-only crate for the Wasmtime
2 //! > project and is not intended for general use. APIs are not strictly
3 //! > reviewed for safety and usage outside of Wasmtime may have bugs. If
4 //! > you're interested in using this feel free to file an issue on the
5 //! > Wasmtime repository to start a discussion about doing so, but otherwise
6 //! > be aware that your usage of this crate is not supported.
7 
8 #![no_std]
9 #![deny(missing_docs)]
10 #![cfg_attr(arc_try_new, allow(unstable_features))]
11 #![cfg_attr(arc_try_new, feature(allocator_api))]
12 #![cfg_attr(docsrs, feature(doc_cfg))]
13 #![doc(test(attr(deny(warnings))))]
14 #![doc(test(attr(allow(dead_code, unused_variables, unused_mut))))]
15 
16 extern crate alloc as std_alloc;
17 
18 #[cfg(feature = "std")]
19 extern crate std;
20 
21 pub mod alloc;
22 pub mod error;
23 pub mod math;
24 pub mod non_max;
25 pub mod slab;
26 pub mod undo;
27