Skip to main content

web_mount

Function web_mount 

Source
pub async fn web_mount(
    project: &Project,
    sccache_path: Option<&Path>,
    progress: Option<&BuildProgress>,
) -> Result<Option<BundleMountMeta>>
Expand description

The include_web! mount declared by the project’s compiled library.

Read from the waterui_meta_bundle_* statics in the host rlib, which is ground truth for what the application actually declared.

§Errors

Returns an error when the host build fails, the rlib cannot be read, or a declared mount’s payload does not decode.