pub fn run_scaffolder(
target: &str,
config: &TargetScaffoldConfig,
emitted: &[OutputFile],
project_name: Option<&str>,
) -> Result<Vec<OutputFile>, ScaffoldError>Expand description
Run the per-target scaffolder and return its files, dropping any that collide with paths the codegen tree already emitted.
This is the single entry point the build driver calls in project mode. It guards the run-affordance manifests (already emitted by codegen) against accidental clobbering by a scaffolder stub.
§Errors
Propagates ScaffoldError from the scaffolder, or returns
ScaffoldError::Parse if target has no registered scaffolder.