diff --git a/Package.swift b/Package.swift index eaf8fc851..2a760820c 100644 --- a/Package.swift +++ b/Package.swift @@ -75,20 +75,11 @@ let wasiLibcCSettings: [CSetting] = [ .define("_WASI_EMULATED_MMAN", .when(platforms: [.wasi])), ] -var testOnlySwiftSettings: [SwiftSetting] = [ +let testOnlySwiftSettings: [SwiftSetting] = [ // The latest Windows toolchain does not yet have exit tests in swift-testing .define("FOUNDATION_EXIT_TESTS", .when(platforms: [.macOS, .linux, .openbsd])) ] -#if os(Linux) -import FoundationEssentials - -if ProcessInfo.processInfo.operatingSystemVersionString.hasPrefix("Ubuntu 20.") { - // Exit tests currently hang indefinitely on Ubuntu 20. - testOnlySwiftSettings.removeFirst() -} -#endif - let package = Package( name: "swift-foundation", platforms: [.macOS("15"), .iOS("18"), .tvOS("18"), .watchOS("11")],