[rust-dev] iOS cross compilation

Alex Crichton alex at crichton.co
Mon Jun 16 11:04:56 PDT 2014


Nice job Valerii! This is all thanks to the awesome work you've been
doing wrangling compiler-rt and the standard libraries. I'm excited to
see what new applications Rust can serve on iOS!

On Mon, Jun 16, 2014 at 9:19 AM, Valerii Hiora <valerii.hiora at gmail.com> wrote:
> Hi,
>
>   So finally Rust can cross-compile for iOS (armv7 only for now). BTW,
> it also means that Rust now can be used both for iOS and Android
> low-level development.
>
>   Short instructions are available here:
>   https://github.com/mozilla/rust/wiki/Doc-building-for-ios
>
>   Unfortunately LLVM patch for supporting segmented stacks on armv7 was
> declined by Apple (it used kind of private API) and therefore there is
> no stack protection at all.
>
>   It still could be enabled by compiling with a patched LLVM (I can
> provide a patch and instructions if needed).
>
>   Everything else should "just work" but let me know if you have any
> problem.
>
> --
>
>   Valerii
> _______________________________________________
> Rust-dev mailing list
> Rust-dev at mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev


More information about the Rust-dev mailing list