Skip to main content

parse_bundle_import_with_budget

Function parse_bundle_import_with_budget 

Source
pub fn parse_bundle_import_with_budget(
    files: &[BundleImportFile],
    budget: WarningBudget,
) -> Result<ParsedBundleImport, String>
Expand description

Same as parse_bundle_import, but with an explicit WarningBudget enforced at every warning-push site inside this function (Phase 3 spec §3.1, round 11) — the new bundle.import.preview/.commit RPC handlers call this directly with a tight budget; parse_bundle_import passes WarningBudget::unbounded, preserving today’s existing bundle.import route’s behavior exactly.