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

Enum BuildSource

src/build.rs:158–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156impl DecodedBuildManifest {
157 pub(crate) fn into_manifest(
158 self,
159 name: String,
160 root: BuildSource,
161 asm_root: bool,
162 source_prelude: Option<String>,
163 artifact_root: Option<PathBuf>,
164 ) -> BuildManifest {
165 let mut manifest = match self.target {
166 TargetMode::Kernel => BuildManifest::kernel(name.clone(), ""),
167 TargetMode::Hosted | TargetMode::Freestanding => {
168 BuildManifest::hosted(name.clone(), "")
169 }
170 };
171 manifest.name = name;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected