- Fix memory leak when passing
Option<SwiftType>
from Swift to Rust. #273- It is very unlikely that users were impacted by this leak
Option<SwiftType>
support was introduced about 10 hours ago - Full explanation of the leak can be found in 87dbea3
#[swift_bridge::bridge] mod ffi { extern "Swift" { type SomeSwiftType; } extern "Rust" { // Calling with would leak memory in "0.1.54". // This no longer leaks as of "0.1.55". fn option_arg(arg: Option<SomeSwiftType>); } }
- It is very unlikely that users were impacted by this leak