1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
//! `lucet-runtime` is a library for loading, running, and monitoring ahead-of-time compiled //! WebAssembly modules in lightweight sandboxes. It is intended to work with modules compiled by //! [`lucetc`](https://github.com/fastly/lucet/tree/master/lucetc). #![deny(bare_trait_objects)] #[macro_use] pub mod error; #[macro_use] pub mod hostcall_macros; pub use lucet_runtime_macros::lucet_hostcall; #[macro_use] #[cfg(test)] pub mod test_helpers; pub mod alloc; pub mod c_api; pub mod context; pub mod embed_ctx; pub mod instance; pub mod module; pub mod region; pub mod sysdeps; pub mod val; pub mod vmctx; /// The size of a page in WebAssembly heaps. pub const WASM_PAGE_SIZE: u32 = 64 * 1024;