Skip to content

Document minimum supported versions for apple operating systems to platform documentation #124215

Closed
@simlay

Description

@simlay

In #124089 (review), it was pointed out that there's not an easy way to know the minimum version of an apple OS that is supported. One must kind of grep for *_DEPLOYMENT_TARGET and then parse the output to retrieve an answer and get an answer.

If I read the source correctly, the minimum supported versions currently are:

The versions are occasionally bumped up as in rust-lang/compiler-team#556 and so it would be good write them down in a more human readable form.

This has lead to various code comments about version support for various platforms being a little inconsistent. It is possible this comment is to mean "minimum version of this syscall" but that is unclear.

I will admit that I'm not certain as to the best way to do this. Adding these to the platform support docs seems like the right choice. Perhaps also in the specific platform support page

Some of the tier 3 pages list a minimum and some do not. arm64e-apple-ios for example lists 12.0+ and arm64e-apple-darwin lists 11+ however watchOS and tvOS do not.

Perhaps related: I am unfamiliar with target triples arm64e-apple-ios and arm64e-apple-darwin. Are these actually used?

CC: @madsmtm

Metadata

Metadata

Assignees

Labels

O-iosOperating system: iOSO-macosOperating system: macOSO-tvosOperating system: tvOS (including simulator)O-visionosApple visionOSO-watchosOperating System: watchOST-libsRelevant to the library team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions