Skip to content

Commit a3f5566

Browse files
Apply suggestions from code review
Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
1 parent 6e62961 commit a3f5566

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
**Tier: 3**
66

7-
Apple WatchOS targets:
7+
Apple tvOS targets:
88
- Apple tvOS on aarch64
99
- Apple tvOS Simulator on x86_64
1010

@@ -14,25 +14,25 @@ Apple WatchOS targets:
1414

1515
## Requirements
1616

17-
These targets are cross-compiled. You will need appropriate versions of XCode
17+
These targets are cross-compiled. You will need appropriate versions of Xcode
1818
and the SDKs for tvOS (`AppleTVOS.sdk`) and/or the tvOS Simulator
1919
(`AppleTVSimulator.sdk`) to build a toolchain and target these platforms.
2020

2121
The targets support the full standard library including the allocator to the
22-
best of my knowledge, however they are very new, not yet well-tested tested, and
22+
best of my knowledge, however they are very new, not yet well-tested, and
2323
it is possible that there are various bugs.
2424

2525
In theory we support back to tvOS version 7.0, although the actual minimum
2626
version you can target may be newer than this, for example due to the versions
27-
of XCode and your SDKs.
27+
of Xcode and your SDKs.
2828

2929
As with the other Apple targets, `rustc` respects the common environment
30-
variables used by XCode to configure this, in this case
30+
variables used by Xcode to configure this, in this case
3131
`TVOS_DEPLOYMENT_TARGET`.
3232

3333
## Building the target
3434

35-
The targets can be built by enabling them for a `rustc` build, for example:
35+
The targets can be built by enabling them for a `rustc` build in `config.toml`, by adding, for example:
3636

3737
```toml
3838
[build]
@@ -58,7 +58,7 @@ $ rustc --target x86_64-apple-tvos your-code.rs
5858

5959
There is no support for running the Rust or standard library testsuite on tvOS
6060
or the simulators at the moment. Testing has mostly been done manually with
61-
builds of static libraries called from XCode or a simulator.
61+
builds of static libraries called from Xcode or a simulator.
6262

6363
It hopefully will be possible to improve this in the future.
6464

0 commit comments

Comments
 (0)