MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / parse_stdlib_policy

Function parse_stdlib_policy

src/build.rs:438–449  ·  view source on GitHub ↗
(value: &str, target: TargetMode)

Source from the content-addressed store, hash-verified

436 }
437 }
438 }
439
440 let units = Self::prune_unreferenced_stdlib(units, &prunable, manifest.entry.as_deref());
441
442 let modules: Vec<(&str, &AssembledOutput)> = units
443 .iter()
444 .map(|unit| (unit.name.as_str(), &unit.assembled))
445 .collect();
446 let link_pipeline = Self::pipeline_for(manifest);
447 let linked = link_pipeline
448 .link_assembled_objects_named(&manifest.name, &modules)
449 .map_err(BuildError::Link)?;
450
451 Ok(BuildArtifacts {
452 plan,

Callers 1

from_fileMethod · 0.85

Calls 1

ManifestClass · 0.85

Tested by

no test coverage detected