Skip to content

Add ios uniffi support for context id component#6757

Merged
mhammond merged 2 commits intomozilla:mainfrom
Cramsden:cr/add-ios-support-for-context-id
May 27, 2025
Merged

Add ios uniffi support for context id component#6757
mhammond merged 2 commits intomozilla:mainfrom
Cramsden:cr/add-ios-support-for-context-id

Conversation

@Cramsden
Copy link
Contributor

@Cramsden Cramsden commented May 20, 2025

This PR adapts the uniffi component to work with iOS so that we can expose this for the iOS App to use. There are no tests for this because it is just configuration changes! This component is already well tested. This is my first AS PR. I don't actually know if this warrants a changelog entry.

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.

mhammond
mhammond previously approved these changes May 20, 2025
Copy link
Member

@mhammond mhammond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great to me, thanks! We aren't great with changelogs so I think not having one here seems fine.

@@ -0,0 +1,3 @@
[bindings.swift]
ffi_module_name = "MozillaRustComponents"
ffi_module_filename = "contextIDFFI" No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: please add a trailing \n here.

@mergify mergify bot dismissed mhammond’s stale review May 21, 2025 04:55

The pull request has been modified, dismissing previous reviews.

Copy link
Member

@mhammond mhammond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotta love how small this is!

@mhammond
Copy link
Member

/taskcluster ci full

@mhammond mhammond added this pull request to the merge queue May 27, 2025
Merged via the queue into mozilla:main with commit 3e9b11f May 27, 2025
60 checks passed
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