Closed timwedde closed 1 year ago
@timwedde
field has incomplete type 'struct swift_bridge$tuple$I32ResultTestOpaqueRustTypeString'
This error is not due to this PR. If you want to know more detail, please see #225.
It seems like this PR is fine. Thanks!!
Alright, I think I addressed all of the comments, let me know how I did 👍
Thanks!
A UI test is failing but I believe it's fixed in #230 so I'll merge this
Fixes #228.
This enables the following use case:
This is chiefly intended for easy bidirectional byte exchanges but should work for all primitive types, at least the ones I tested with.
The codegen tests pass but I was unable to get the integration tests to run: They also fail for me on
master
and I don't understand enough of how they work to properly debug them. The (very long) error messages ends with this, which seems to be the culprit:I attempted to add some integration tests for both directions anyway, but given that I'm operating 'blind' on that part I can't assure you whether these work or not.
I'm rather certain that there's still issues with my PR given that this is my first time dealing with this kind of interop work, so by all means do let me know how to address the current weaknesses/problems and I'll do my best to resolve them.