MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / verify_committed_assets

Function verify_committed_assets

xtask/src/main.rs:5391–5406  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5389}
5390
5391fn verify_committed_assets() -> Result<()> {
5392 check_source_free_repo()?;
5393 let manifest = load_sources_manifest()?;
5394 validate_sources_manifest(&manifest)?;
5395 check_no_legacy_runtime_shims()?;
5396 check_production_wasix_build_inputs()?;
5397 check_rust_startup_abi_boundary()?;
5398 check_or_write_asset_input_fingerprint(false)?;
5399 check_no_committed_portable_asset_blobs()?;
5400 check_no_committed_aot_artifacts()?;
5401 check_aot_crate_templates(&manifest)?;
5402 verify_generated_extension_surface_if_available()?;
5403 check_source_controlled_wasix_export_list()?;
5404 println!("source-controlled asset inputs and crate templates passed");
5405 Ok(())
5406}
5407
5408fn check_source_free_repo() -> Result<()> {
5409 if Path::new(".gitmodules").exists() {

Callers 1

assetsFunction · 0.85

Tested by

no test coverage detected