File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
uniffi_bindgen/src/bindings/swift/gen_swift Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2626 Custom types too ([ #2603 ] ( https://github.com/mozilla/uniffi-rs/pull/2603 ) )
2727- Kotlin: The ` NoPointer ` placeholder object used to create fake interface instances has been renamed to ` NoHandle `
2828- Python: methods now have typing annotations for return values ([ #2625 ] ( https://github.com/mozilla/uniffi-rs/issues/2625 ) )
29+ - Swift: initialization functions now have a stable ordering when using external types.
30+ This makes the generated source files more deterministic.
2931
3032### ⚠️ Breaking Changes for external bindings authors ⚠️
3133
Original file line number Diff line number Diff line change @@ -506,8 +506,8 @@ impl<'a> SwiftWrapper<'a> {
506506 module_path. to_upper_camel_case( )
507507 )
508508 } )
509- // Collect into a hash set to de-dup
510- . collect :: < HashSet < _ > > ( ) ;
509+ // Collect into a btree set to de-dup and order
510+ . collect :: < BTreeSet < _ > > ( ) ;
511511
512512 init_fns. chain ( extern_module_init_fns) . collect ( )
513513 }
You can’t perform that action at this time.
0 commit comments