From 9fb1eaaf4118609e1a99d1cb381acbe864ce05a3 Mon Sep 17 00:00:00 2001 From: Tony Allevato Date: Wed, 14 Aug 2024 08:10:51 -0700 Subject: [PATCH] Remove `async` from the `main` function for the time being. This is causing some of our tests to terminate abnormally with an error out of the Swift runtime: "freed pointer was not the last allocation". We're going to need `async` eventually to support swift-testing, but in the meantime, this fixes the broken projects while I investigate further. PiperOrigin-RevId: 662923954 --- tools/test_discoverer/TestDiscoverer.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test_discoverer/TestDiscoverer.swift b/tools/test_discoverer/TestDiscoverer.swift index b1bedfabc..ea9a40dff 100644 --- a/tools/test_discoverer/TestDiscoverer.swift +++ b/tools/test_discoverer/TestDiscoverer.swift @@ -109,7 +109,7 @@ struct TestDiscoverer: ParsableCommand { \(availabilityAttribute) @main struct Main { - static func main() async { + static func main() { do { try XCTestRunner.run()