Skip to main content

load_ir_modules

Function load_ir_modules 

Source
pub fn load_ir_modules<A: Embed>(
    manifest: &AssetManifest,
) -> (HashMap<String, RenderMode>, HashMap<String, IrModule>)
Expand description

Load and parse all IR modules from the asset manifest, ignoring failures.

Every failure is logged and represented as Phase1ClientMount, so a broken build degrades instead of refusing to start. Use load_ir_modules_strict if you would rather fail startup on a build/embed skew than quietly ship without SSR.

Routes with no .ir field in the manifest are not included in the returned map — callers should treat absent routes as Phase1ClientMount.