| 156 | impl 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; |
nothing calls this directly
no outgoing calls
no test coverage detected