From dbc46a7e84af63f440ffc26b0decceb1874b0862 Mon Sep 17 00:00:00 2001 From: "Sven A. Schmidt" Date: Tue, 7 Apr 2026 09:10:16 +0200 Subject: [PATCH] Fix wasm 6.2 build --- .../SemanticVersion+LosslessStringConvertible.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/SemanticVersion/SemanticVersion+LosslessStringConvertible.swift b/Sources/SemanticVersion/SemanticVersion+LosslessStringConvertible.swift index c412830..9d24663 100644 --- a/Sources/SemanticVersion/SemanticVersion+LosslessStringConvertible.swift +++ b/Sources/SemanticVersion/SemanticVersion+LosslessStringConvertible.swift @@ -12,6 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +#if os(wasm) && swift(<6.3) +import Foundation +#endif + extension SemanticVersion: LosslessStringConvertible {