Repository navigation
chore: update to uniffi 0.30 - #333
Closed
istankovic wants to merge 10 commits into
Closed
istankovic wants to merge 10 commits into
istankovic wants to merge 10 commits into
Conversation
This is based on mozilla/uniffi-rs@3fc88cd. See mozilla/uniffi-rs#2564.
istankovic
marked this pull request as ready for review
December 22, 2025 10:04
Owner
|
Hey @istankovic Thanks for diving in! Let me know if there's anything I can do to help! |
Author
Essentially there are two problems, that I am completely stuck on:
I spent quite some time trying to figure out how to fix 1), but eventually gave up. So any help with that would be much appreciated. Regarding 2), I haven't even looked at those failures in detail. |
Contributor
|
@jhugman would it be possible to assist? That'd be great! |
SimonThormeyer
pushed a commit
to wireapp/uniffi-bindgen-react-native
that referenced
this pull request
Mar 2, 2026
Fixes jhugman#316 . This PR takes inspiration from–but supercedes jhugman#322, jhugman#333 and jhugman#338. - Fixed test runner `CMakeLists.txt` build to use `hermes/main`. - ~~Found and filed upstream mozilla/uniffi-rs#2829. [Workaround](https://github.com/mozilla/uniffi-rs/blob/main/CHANGELOG.md#%EF%B8%8F-breaking-changes-%EF%B8%8F-2). - Found and filed upstream mozilla/uniffi-rs#2828. - Tests passing for JSI and WASM. ## Changes in [uniffi 0.30 changelog](https://github.com/mozilla/uniffi-rs/blob/main/CHANGELOG.md#%EF%B8%8F-breaking-changes-%EF%B8%8F-2). - [x] [Implement `UniffiTrait::Ord` in typescript bindings](mozilla/uniffi-rs#2583) - [x] [Enums and Records supports uniffi traits](https://github.com/mozilla/uniffi-rs/pull/2586/changes#diff-525584388b71eb2f5f328ae05791b81b99a6e01a60dc625eec335b2250f9a7b7R332-R336). - [x] Flat enums - [x] Tagged unions - [x] Records - [x] Handle lifting trait objects coming from Rust: e.g. [ObjectTemplate.kt](https://github.com/mozilla/uniffi-rs/pull/2586/changes#diff-525584388b71eb2f5f328ae05791b81b99a6e01a60dc625eec335b2250f9a7b7R332-R336) - [x] CustomTypes for defaults. Test needed to add. - [x] [CustomTypes as errors](https://github.com/mozilla/uniffi-rs/pull/2658/changes#diff-12e1c6551f0a758081614fc7d86d90e87b0be4f4b787b677ebdd2809280bbb4f). - [x] [Interfaces deriving from External traits](mhammond/uniffi-rs@b54375f#diff-522f0ef157bc0a32453bafd790a9058a35cbb8a721df58a9b51b1ec6b74db5ca) Closes jhugman#322 Closes jhugman#333 Closes jhugman#338
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is heavily based on #322, with some differences:
Unfortunately, JSI and WASM tests still fail and I do not know how to fix them.
In particular, the WASM async callbacks test is failing with