diff --git a/Sources/Testing/Events/TimeValue.swift b/Sources/Testing/Events/TimeValue.swift index 838eb381b..ddc454f7b 100644 --- a/Sources/Testing/Events/TimeValue.swift +++ b/Sources/Testing/Events/TimeValue.swift @@ -81,7 +81,7 @@ extension TimeValue: Codable {} extension TimeValue: CustomStringConvertible { var description: String { -#if os(WASI) +#if os(WASI) && compiler(<6.3) // BUG: https://github.com/swiftlang/swift/issues/72398 return String(describing: Duration(self)) #else