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

Method plan

src/build.rs:295–311  ·  view source on GitHub ↗
(manifest: &BuildManifest)

Source from the content-addressed store, hash-verified

293 }
294 }
295}
296
297impl std::error::Error for BuildError {}
298
299pub struct BuildExecutor;
300
301impl BuildExecutor {
302 pub fn plan(manifest: &BuildManifest) -> BuildPlan {
303 BuildPlan {
304 name: manifest.name.clone(),
305 target: manifest.target,
306 entry: manifest.entry.clone(),
307 stdlib: manifest.stdlib,
308 import_closure: manifest.import_closure,
309 root: manifest.root.name().to_owned(),
310 extra_objects: manifest
311 .extra_objects
312 .iter()
313 .map(|object| object.name.clone())
314 .collect(),

Callers

nothing calls this directly

Calls 3

collectMethod · 0.80
cloneMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected