Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UniFFI generation doesn't present Swift6 compatible code for the FFI layer #200

Open
heckj opened this issue Oct 30, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working enhancement New feature or request upstream dependency The bug, enhancement, etc - has a dependency on the Automerge core library

Comments

@heckj
Copy link
Collaborator

heckj commented Oct 30, 2024

Working on enabling Swift 6 compilation compatibility (#199) and ran into the issue where UniFFI generates a global variable as var instead of let, allowing it to be variable, which is a failure in Swift 6 compilation mode. The upstream UniFFI issue for tracking a more complete Swift 6 solution is mozilla/uniffi-rs#2279, but for this immediate need I've opened mozilla/uniffi-rs#2290, effectively a fix for this need, and at least a partial fix for UniFFI.

This issue exists to track the version of UniFFI used - and upgrade when the newer version is available that includes the fix for a non-mutable global variable. (something later than v0.28.2 of UniFFI)

@heckj heckj self-assigned this Oct 30, 2024
@heckj heckj added enhancement New feature or request upstream dependency The bug, enhancement, etc - has a dependency on the Automerge core library bug Something isn't working labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request upstream dependency The bug, enhancement, etc - has a dependency on the Automerge core library
Projects
None yet
Development

No branches or pull requests

1 participant