mozilla / uniffi-rs

a multi-language bindings generator for rust
https://mozilla.github.io/uniffi-rs/
Mozilla Public License 2.0
2.68k stars 219 forks source link

Change introduced in v0.28.1 breaks cargo-swift #2216

Open tszymczyszyn-shopify opened 1 month ago

tszymczyszyn-shopify commented 1 month ago

Looks like v0.28.1 altered the signature of uniffi_bindgen::library_mode::generate_bindings which breaks cargo-swift@0.8.0. More information in https://github.com/antoniusnaumann/cargo-swift/issues/64. Not sure what is the versioning policy for uniffi-rs, but this is unexpected.

mhammond commented 2 weeks ago

damn - sorry about that, we shouldn't have made that change in a dot release.

mklnz commented 3 days ago

Wow took me so long to figure it out since it it just spit out the error No path known to UDL files for 'math', I couldn't get the tutorial working until I downgraded to 0.28.0