Skip to main content

shared_engine

Function shared_engine 

Source
pub fn shared_engine() -> Arc<Engine>
Expand description

Per-process shared wasmtime Engine with rustledger’s security posture. Cheap to clone (Arc).

§Panics

Panics if wasmtime fails to construct an Engine with our config — this is a process-start invariant; if it fires, the binary is fundamentally broken, not a runtime condition worth handling.