Skip to main content

fetch_bundle

Function fetch_bundle 

Source
pub fn fetch_bundle() -> Result<PathBuf>
Expand description

Download the pinned .mcpb bundle for the host platform into the shared cache (verified against the baked sha256 pin) and return its path. Skips the download when a verified copy is already present.

This is the producer side of vendored builds: fetch the bundle once on the build machine, then embed it with include_bundle!.