@rustlang How do I embed my Rust library in Swift? I saw someone do it with having a header-file, but how would that work?
-
-
How'd i create a bridge from Rust to C?
-
check out the FFI chapter of the book; TL;DR is you use #[no_mangle] and extern fn
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.