Skip to content

Android: Switch to UniFFI experimental FFI#7205

Merged
bendk merged 1 commit intomozilla:mainfrom
bendk:push-xmwlxokktmyx
Feb 5, 2026
Merged

Android: Switch to UniFFI experimental FFI#7205
bendk merged 1 commit intomozilla:mainfrom
bendk:push-xmwlxokktmyx

Conversation

@bendk
Copy link
Contributor

@bendk bendk commented Feb 5, 2026

We've been developing this in to try to reduce the Android crash rate. We're not sure if this will work or not, so the plan is to run an experiment where we switch to a UniFFI branch with the new FFI and monitor the crash rate. The branch is based off of 0.31 and should only affect Kotlin/Android.

https://docs.google.com/document/d/13kEAIcjoHYVH-z4uKFsTsLKaUc1I-PmZ_E-Orn2lgqY/edit?tab=t.0#heading=h.rjnszvtvhr7e mozilla/uniffi-rs#2765

Pull Request checklist

  • Breaking changes: This PR follows our breaking change policy
    • This PR follows the breaking change policy:
      • This PR has no breaking API changes, or
      • There are corresponding PRs for our consumer applications that resolve the breaking changes and have been approved
  • Quality: This PR builds and tests run cleanly
    • Note:
      • For changes that need extra cross-platform testing, consider adding [ci full] to the PR title.
      • If this pull request includes a breaking change, consider cutting a new release after merging.
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry in CHANGELOG.md or an explanation of why it does not need one
    • Any breaking changes to Swift or Kotlin binding APIs are noted explicitly
  • Dependencies: This PR follows our dependency management guidelines
    • Any new dependencies are accompanied by a summary of the due diligence applied in selecting them.

@bendk bendk requested a review from mhammond February 5, 2026 00:19
@bendk bendk force-pushed the push-xmwlxokktmyx branch from 7cef7ff to 622cb8c Compare February 5, 2026 00:32
@bendk bendk force-pushed the push-xmwlxokktmyx branch from 622cb8c to a0187c5 Compare February 5, 2026 00:44
We've been developing this in to try to reduce the Android crash rate.
We're not sure if this will work or not, so the plan is to run an
experiment where we switch to a UniFFI branch with the new FFI and
monitor the crash rate.  The branch is based off of 0.31 and should only
affect Kotlin/Android.


https://docs.google.com/document/d/13kEAIcjoHYVH-z4uKFsTsLKaUc1I-PmZ_E-Orn2lgqY/edit?tab=t.0#heading=h.rjnszvtvhr7e
mozilla/uniffi-rs#2765
@bendk bendk added this pull request to the merge queue Feb 5, 2026
Merged via the queue into mozilla:main with commit 4a04cc2 Feb 5, 2026
14 checks passed
@bendk bendk deleted the push-xmwlxokktmyx branch February 5, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants