From 38415f9a902b6e3d75e560b61e7abb7117e49960 Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Sat, 6 Apr 2024 10:37:13 +0100 Subject: [PATCH] @preconncurrency before swift 5.10 linux --- Sources/SotoCodeGeneratorLib/Templates/shapes.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SotoCodeGeneratorLib/Templates/shapes.swift b/Sources/SotoCodeGeneratorLib/Templates/shapes.swift index 9d7a8c8..28578b1 100644 --- a/Sources/SotoCodeGeneratorLib/Templates/shapes.swift +++ b/Sources/SotoCodeGeneratorLib/Templates/shapes.swift @@ -17,7 +17,7 @@ extension Templates { {{%CONTENT_TYPE:TEXT}} {{>header}} - #if os(Linux) + #if os(Linux) && compiler(<5.10) // swift-corelibs-foundation hasn't been updated with Sendable conformances @preconcurrency import Foundation #else