mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-04 15:41:11 +00:00
[Swift] Migrate to swift 6.0 and Implements support gRPC v2 (#8983)
* Migrate to swift 6.0 & swift-gRPC 2.0 The following migrates to swift 6.0, and also migrate to swift-grpc 2.0 that uses swift-nio under the hood to provide nicer API and async await Adds sendable to enum & update @_implementationOnly imports to use internal imports * Address PR comments regarding misspelling & proper method naming.
This commit is contained in:
@@ -26,6 +26,7 @@ final class FlatBuffersArraysTests: XCTestCase {
|
||||
func testStructSizes() {
|
||||
XCTAssertEqual(MemoryLayout<MyGame_Example_NestedStruct>.size, 32)
|
||||
XCTAssertEqual(MemoryLayout<MyGame_Example_ArrayStruct>.size, 160)
|
||||
XCTAssertEqual(MemoryLayout<MyGame_Example_LargeArrayStruct>.size, 2496)
|
||||
}
|
||||
|
||||
func testGoldenData() {
|
||||
@@ -233,4 +234,3 @@ extension InlineArray: @retroactive Equatable where Element: Equatable {
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user