Apply suggestions from code review
Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
This commit is contained in:
parent
6e62961474
commit
a3f5566858
1 changed files with 7 additions and 7 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
**Tier: 3**
|
**Tier: 3**
|
||||||
|
|
||||||
Apple WatchOS targets:
|
Apple tvOS targets:
|
||||||
- Apple tvOS on aarch64
|
- Apple tvOS on aarch64
|
||||||
- Apple tvOS Simulator on x86_64
|
- Apple tvOS Simulator on x86_64
|
||||||
|
|
||||||
|
@ -14,25 +14,25 @@ Apple WatchOS targets:
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
These targets are cross-compiled. You will need appropriate versions of XCode
|
These targets are cross-compiled. You will need appropriate versions of Xcode
|
||||||
and the SDKs for tvOS (`AppleTVOS.sdk`) and/or the tvOS Simulator
|
and the SDKs for tvOS (`AppleTVOS.sdk`) and/or the tvOS Simulator
|
||||||
(`AppleTVSimulator.sdk`) to build a toolchain and target these platforms.
|
(`AppleTVSimulator.sdk`) to build a toolchain and target these platforms.
|
||||||
|
|
||||||
The targets support the full standard library including the allocator to the
|
The targets support the full standard library including the allocator to the
|
||||||
best of my knowledge, however they are very new, not yet well-tested tested, and
|
best of my knowledge, however they are very new, not yet well-tested, and
|
||||||
it is possible that there are various bugs.
|
it is possible that there are various bugs.
|
||||||
|
|
||||||
In theory we support back to tvOS version 7.0, although the actual minimum
|
In theory we support back to tvOS version 7.0, although the actual minimum
|
||||||
version you can target may be newer than this, for example due to the versions
|
version you can target may be newer than this, for example due to the versions
|
||||||
of XCode and your SDKs.
|
of Xcode and your SDKs.
|
||||||
|
|
||||||
As with the other Apple targets, `rustc` respects the common environment
|
As with the other Apple targets, `rustc` respects the common environment
|
||||||
variables used by XCode to configure this, in this case
|
variables used by Xcode to configure this, in this case
|
||||||
`TVOS_DEPLOYMENT_TARGET`.
|
`TVOS_DEPLOYMENT_TARGET`.
|
||||||
|
|
||||||
## Building the target
|
## Building the target
|
||||||
|
|
||||||
The targets can be built by enabling them for a `rustc` build, for example:
|
The targets can be built by enabling them for a `rustc` build in `config.toml`, by adding, for example:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[build]
|
[build]
|
||||||
|
@ -58,7 +58,7 @@ $ rustc --target x86_64-apple-tvos your-code.rs
|
||||||
|
|
||||||
There is no support for running the Rust or standard library testsuite on tvOS
|
There is no support for running the Rust or standard library testsuite on tvOS
|
||||||
or the simulators at the moment. Testing has mostly been done manually with
|
or the simulators at the moment. Testing has mostly been done manually with
|
||||||
builds of static libraries called from XCode or a simulator.
|
builds of static libraries called from Xcode or a simulator.
|
||||||
|
|
||||||
It hopefully will be possible to improve this in the future.
|
It hopefully will be possible to improve this in the future.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue