-
Notifications
You must be signed in to change notification settings - Fork 235
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
Using async traint crashes at "Foreign pointer not set" #2343
Comments
Thanks for the report. One of us will try and repro this, but if you'd like to help things along, the most impactful thing you could do would be to submit a patch which demonstrates it in our fixtures - this is the first thing anyone would need to do regardless so that any fix has suitable tests, and having this done beforehand would make it that much more tractable for one of us to look into the actual problem. |
I can have a look at that if I find some time. Meanwhile, to whoever is looking at this issue, please feel free to use the code in the project if needed. |
I believe #2367 fixes this one |
Initialize VTables for external types (#2343)
I ran into a crash when having a crate using an async trait defined in another crate. Here is the crash site.
uniffi-rs/uniffi_core/src/ffi/foreigncallbacks.rs
Lines 31 to 33 in 2c003b1
To reproduce this crash:
./build.sh && swift test --package-path swift
. You can see the full backtrace from Xcode, too.I'm using Xcode 16.1 on macOS 15.
The text was updated successfully, but these errors were encountered: