The current API exposes the per-target build procedure, but does not perform looping. Only the CLI does.
We would want to use iterators or something, so that the CLI can still emit logs during porting, but the API should generally not log but rather return Result objects.