Expand description
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
.
Modules§
- alloc
- c_api
- context
- embed_
ctx - error
- hostcall_
macros - instance
- module
- region
- sysdeps
- val
- Typed values for passing into and returning from sandboxed programs.
- vmctx
- Interfaces for accessing instance data from hostcalls.
Macros§
- alloc_
tests - assert_
nonnull - bail_
limits_ exceeded - lucet_
bail - lucet_
ensure - lucet_
format_ err - lucet_
hostcall_ terminate - Terminate an instance from within a hostcall, returning an optional value as an error.
- lucet_
hostcalls Deprecated - The macro that surrounds definitions of Lucet hostcalls in Rust.
- lucet_
incorrect_ module - sparse_
page_ data_ tests - with_
ffi_ arcs - Wrap up the management of
Arc
s that go across the FFI boundary.
Constants§
- WASM_
PAGE_ SIZE - The size of a page in WebAssembly heaps.
Attribute Macros§
- lucet_
hostcall - This attribute generates a Lucet hostcall from a standalone Rust function that takes a
&mut Vmctx
as its first argument.