(
name: impl Into<String>,
source: impl Into<String>,
source_path: impl Into<PathBuf>,
)
| 177 | manifest.entry = self.entry; |
| 178 | manifest.stdlib = self.stdlib.unwrap_or(manifest.stdlib); |
| 179 | if let Some(enabled) = self.import_closure { |
| 180 | manifest.import_closure = if enabled { |
| 181 | ImportClosurePolicy::Enabled { |
| 182 | mangle_symbols: !matches!(self.target, TargetMode::Kernel), |
| 183 | } |
| 184 | } else { |
| 185 | ImportClosurePolicy::Disabled |
| 186 | }; |
| 187 | } |
| 188 | if let Some(mangle_symbols) = self.mangle_symbols |
| 189 | && matches!(manifest.import_closure, ImportClosurePolicy::Enabled { .. }) |
| 190 | { |
| 191 | manifest.import_closure = ImportClosurePolicy::Enabled { mangle_symbols }; |
| 192 | } |
nothing calls this directly
no outgoing calls
no test coverage detected