Skip to main content

read_runtime_slices

Function read_runtime_slices 

Source
fn read_runtime_slices() -> (Vec<CallDefRow>, Vec<AltrepRegRow>, Vec<TraitDispatchRow>)
Expand description

Read the live linkme distributed slices and return rows safe to pass to format_wasm_registry.

The routines are the ones the package registers on a native load (crate::registry::call_defs), so the snapshot leaves out the sidecar setters of a read-only type there too (#2292).