News for hackers. Stuff that matters.
Re:How we use Rust in our mobile SDK by vertak on Tuesday April 28, 2020 @10:15PM (#23014547)
You should give rust-embedded's `cross` project a look.

https://github.com/rust-embedded/cross/

I can't find any iOS related directories in their list of targets but there are a couple issues related to supporting apple platforms.

Re:How we use Rust in our mobile SDK by tedmielczarek on Wednesday April 29, 2020 @10:04AM (#23019348)
I don't think this really solves any problems for us unfortunately. The core of the bitcode problem is that you need the rustc you're using to have the exact same version of LLVM as the Xcode toolchain you're using, since bitcode is a not-entirely-stable internal LLVM format. Cross-compiling to most mobile platforms is actually pretty straightforward with Rust.