[Swift] Bump minimum supported version of swift to 5.10 (#8758)

This commit is contained in:
mustiikhalil
2025-11-15 00:07:49 +01:00
committed by GitHub
parent fa87eccd1a
commit 7150dfb5c4
10 changed files with 11 additions and 11 deletions

View File

@@ -480,7 +480,7 @@ public struct FlatBufferBuilder {
return endVector(len: size)
}
#if swift(>=5.0) && !os(WASI)
#if !os(WASI)
@inline(__always)
/// Creates a vector of bytes in the buffer.
///

View File

@@ -143,7 +143,7 @@ struct _InternalByteBuffer {
/// Adds a `ContiguousBytes` to buffer memory
/// - Parameter value: bytes to copy
#if swift(>=5.0) && !os(WASI)
#if !os(WASI)
@inline(__always)
@usableFromInline
mutating func push(bytes: ContiguousBytes) {