mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-24 22:56:11 +00:00
[Swift] Bump minimum supported version of swift to 5.10 (#8758)
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user