What is the current iOS support status for Rust?

This document states that secure tasks are not supported on iOS targets due to the lack of support for segmented stacks. I looked at the Rust tracker, and this is somewhat related to the streaming local storage of the 32-bit version of iOS. Well, I am not very familiar with such topics.

In any case, this text suggests that the segmented stack approach will be abandoned. There is an HN record that says that this is not required on 64-bit systems.

I am embarrassed about this. What is the current iOS support status for Rust? No stack protection at all from tasks? Or is it protected only in 64-bit?

+6
source share
3 answers

There is a blog post claiming

Now Rust is fully ported to iOS: all architectures for the device / simulator are supported. Since the green threads were removed, adding arm64 support was pretty easy.

Github also has an example iOS application (written in Swift) that invokes a cross-compiled framework (written in Rust).

+6
source

Segmented stacks were abandoned and there were many iOS build PRS fixes: https://github.com/rust-lang/rust/search?q=ios&type=Issues&utf8=%E2%9C%93

I do not know more than that.

+2
source

iOS target (like armv7 and aarch64 ) is officially supported as a level 2 platform.

Tier 2 platforms can be considered "guaranteed to be built." Automated tests do not run, so creating a working assembly is not guaranteed, but platforms often work to a fairly good degree, and patches are always welcome!

Mac-> iOS cross-compiler is automatically created for each PR / merge.

The team is happy to improve support . This is basically a question of whether someone is making reliable integration with buildbot for automated tests.

0
source

Source: https://habr.com/ru/post/976612/


All Articles