We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
derive_ffi_funcs
1 parent c1919c7 commit 86a3408Copy full SHA for 86a3408
uniffi_bindgen/src/bindings/swift/mod.rs
@@ -165,6 +165,10 @@ pub fn generate_swift_bindings(options: SwiftBindingsOptions) -> Result<()> {
165
let cis = loader.load_cis(metadata)?;
166
let mut components = loader.load_components(cis, parse_config)?;
167
apply_renames(&mut components);
168
+ // Call derive_ffi_funcs after apply_renames()
169
+ for Component { ci, .. } in components.iter_mut() {
170
+ ci.derive_ffi_funcs()?;
171
+ }
172
173
for Component { ci, config } in &components {
174
if options.generate_swift_sources {
0 commit comments