Commit 193dcb6
committed
Add Flutter LoRA support and fix struct alignment crash
Fix critical 4-byte struct misalignment in RacModelInfoCStruct (missing
supports_lora field) causing memory corruption. Add complete LoRA FFI
bindings, bridge layer, public API, and types for Flutter feature parity
with iOS/Kotlin.1 parent c2bc42f commit 193dcb6
7 files changed
Lines changed: 709 additions & 0 deletions
File tree
- sdk/runanywhere-flutter/packages/runanywhere/lib
- native
- public
- extensions
- types
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
320 | 328 | | |
321 | 329 | | |
322 | 330 | | |
| |||
0 commit comments