3 ms·
What are the ergonomics of compiling that binary library? I think this sounds really neat, if you have a build system that produces something like an .xcframewo
by plagiarist 4y ago
What are the ergonomics of compiling that binary library? I think this sounds really neat, if you have a build system that produces something like an .xcframework and corresponding package file it wouldn't even be a pain point.
- josephg 4y agoYeah; thats exactly what I have. I have a script which compiles the rust code for all the combinations of hardware (arm & x86_64 on ios & macos) and produces an .xcframework. Then I just recompile my xcode project. Its a bit hacky, but it works fine. I'm using the swift_bridge crate to generate a lot of the bindings and generate the .xcframework. https://github.com/josephg/replica/blob/master/build_swift.sh https://github.com/josephg/replica/blob/master/build_swift.s...