Files
swift-mirror/benchmark/multi-source/Monoids/Standalone.swift
2025-07-23 17:26:48 -04:00

13 lines
327 B
Swift

// Only generate main entry point if we're not being built as part of the
// benchmark harness. In this case you get a binary that runs the same
// workload, except it also prints results to standard output.
#if !canImport(TestsUtils)
@main struct Main {
static func main() async {
await run(output: true)
}
}
#endif