4 ms·
Which direction are you talking? If you want to link against Rust there is little choice but to use a C layer because it doesn’t have a stable ABI.
by jen20 4y ago
Which direction are you talking? If you want to link against Rust there is little choice but to use a C layer because it doesn’t have a stable ABI.
- manmal 4y agoI‘m talking Swift > Rust. TIL about the unstable ABI, thanks!
- jen20 4y agoGot it - the other way is actually fine because Swift does have a stable ABI - swift-bridge [1] allows interop in terms of high level types instead of devolving to C. [1]: https://github.com/chinedufn/swift-bridge https://github.com/chinedufn/swift-bridge