chinedufn / swift-bridge

swift-bridge facilitates Rust and Swift interop.
https://chinedufn.github.io/swift-bridge
Apache License 2.0
842 stars 62 forks source link

Recreate Vec.swift #232

Closed NiwakaDev closed 1 year ago

NiwakaDev commented 1 year ago

Before this commit, the integration tests consistently fail becasuse Xcode couldn't recognize Vec.swift, like so:

Testing failed:
        Cannot find 'swift_return_vec_u8' in scope
        Cannot find 'swift_arg_vec_u8' in scope
        Generic parameter 'T' could not be inferred
        Testing cancelled because the build failed.
Vec

As you can see the above image, there isn't Vec.swift in the Xcode.

So, this commit recreates Vec.swift in the Xcode.

chinedufn commented 1 year ago

Ah I just fixed it before seeing this PR so I'll close this. Thanks! https://github.com/chinedufn/swift-bridge/commit/df91f282e62b32755f1410c0e6f22b03f836f018