Skip to content

Commit de725fe

Browse files
committed
Remove note about missing ios/tvos targets in platform docs.
I misunderstood how this works, and I have fixed the linux builds to support ios/tvos.
1 parent c29a29c commit de725fe

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

src/doc/rustc/src/platform-support.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Specifically, these platforms are required to have each of the following:
5757

5858
target | std | host | notes
5959
-------|-----|------|-------
60-
`aarch64-apple-ios` | ✓[^apple] | | ARM64 iOS
60+
`aarch64-apple-ios` | ✓ | | ARM64 iOS
6161
`aarch64-fuchsia` | ✓ | | ARM64 Fuchsia
6262
`aarch64-linux-android` | ✓ | | ARM64 Android
6363
`aarch64-pc-windows-msvc` | ✓ | | ARM64 Windows MSVC
@@ -122,7 +122,7 @@ target | std | host | notes
122122
`wasm32-unknown-emscripten` | ✓ | | WebAssembly via Emscripten
123123
`wasm32-unknown-unknown` | ✓ | | WebAssembly
124124
`wasm32-wasi` | ✓ | | WebAssembly with WASI
125-
`x86_64-apple-ios` | ✓[^apple] | | 64-bit x86 iOS
125+
`x86_64-apple-ios` | ✓ | | 64-bit x86 iOS
126126
`x86_64-fortanix-unknown-sgx` | ✓ | | [Fortanix ABI] for 64-bit Intel SGX
127127
`x86_64-fuchsia` | ✓ | | 64-bit Fuchsia
128128
`x86_64-linux-android` | ✓ | | 64-bit x86 Android
@@ -146,7 +146,7 @@ not available.
146146
target | std | host | notes
147147
-------|-----|------|-------
148148
`aarch64-apple-darwin` | ? | | ARM64 macOS
149-
`aarch64-apple-tvos` | *[^apple] | | ARM64 tvOS
149+
`aarch64-apple-tvos` | * | | ARM64 tvOS
150150
`aarch64-unknown-cloudabi` | ✓ | | ARM64 CloudABI
151151
`aarch64-unknown-freebsd` | ✓ | ✓ | ARM64 FreeBSD
152152
`aarch64-unknown-hermit` | ? | |
@@ -158,16 +158,16 @@ target | std | host | notes
158158
`armv4t-unknown-linux-gnueabi` | ? | |
159159
`armv6-unknown-freebsd` | ✓ | ✓ | ARMv6 FreeBSD
160160
`armv6-unknown-netbsd-eabihf` | ? | |
161-
`armv7-apple-ios` | ✓[^apple] | | ARMv7 iOS, Cortex-a8
161+
`armv7-apple-ios` | ✓ | | ARMv7 iOS, Cortex-a8
162162
`armv7-unknown-cloudabi-eabihf` | ✓ | | ARMv7 CloudABI, hardfloat
163163
`armv7-unknown-freebsd` | ✓ | ✓ | ARMv7 FreeBSD
164164
`armv7-unknown-netbsd-eabihf` | ? | |
165165
`armv7-wrs-vxworks-eabihf` | ? | |
166166
`armv7a-none-eabihf` | * | | ARM Cortex-A, hardfloat
167-
`armv7s-apple-ios` | ✓[^apple] | |
167+
`armv7s-apple-ios` | ✓ | |
168168
`avr-unknown-gnu-atmega328` | ✗ | | AVR. Requires `-Z build-std=core`
169169
`hexagon-unknown-linux-musl` | ? | |
170-
`i386-apple-ios` | ✓[^apple] | | 32-bit x86 iOS
170+
`i386-apple-ios` | ✓ | | 32-bit x86 iOS
171171
`i686-apple-darwin` | ✓ | ✓ | 32-bit OSX (10.7+, Lion+)
172172
`i686-pc-windows-msvc` | ✓ | | 32-bit Windows XP support
173173
`i686-unknown-cloudabi` | ✓ | | 32-bit CloudABI
@@ -203,8 +203,8 @@ target | std | host | notes
203203
`thumbv7a-uwp-windows-msvc` | ✓ | |
204204
`thumbv7neon-unknown-linux-musleabihf` | ? | | Thumb2-mode ARMv7a Linux with NEON, MUSL
205205
`thumbv4t-none-eabi` | * | | ARMv4T T32
206-
`x86_64-apple-ios-macabi` | ✓[^apple] | | Apple Catalyst
207-
`x86_64-apple-tvos` | *[^apple] | | x86 64-bit tvOS
206+
`x86_64-apple-ios-macabi` | ✓ | | Apple Catalyst
207+
`x86_64-apple-tvos` | * | | x86 64-bit tvOS
208208
`x86_64-linux-kernel` | * | | Linux kernel modules
209209
`x86_64-pc-solaris` | ? | |
210210
`x86_64-pc-windows-msvc` | ✓ | | 64-bit Windows XP support
@@ -221,4 +221,3 @@ target | std | host | notes
221221
`x86_64-wrs-vxworks` | ? | |
222222

223223
[runs on NVIDIA GPUs]: https://github.com/japaric-archived/nvptx#targets
224-
[^apple]: These targets are only available on macOS.

src/tools/tier-check/src/main.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ fn main() {
2525
let doc_targets: HashSet<_> = doc_targets_md
2626
.lines()
2727
.filter(|line| line.starts_with('`') && line.contains('|'))
28-
// These platforms only exist on macos.
29-
.filter(|line| !line.contains("[^apple]") || cfg!(target_os = "macos"))
3028
.map(|line| line.split('`').skip(1).next().expect("expected target code span"))
3129
.collect();
3230

0 commit comments

Comments
 (0)