mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Apply suggestions from code review
Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
This commit is contained in:
parent
6e62961474
commit
a3f5566858
@ -4,7 +4,7 @@
|
||||
|
||||
**Tier: 3**
|
||||
|
||||
Apple WatchOS targets:
|
||||
Apple tvOS targets:
|
||||
- Apple tvOS on aarch64
|
||||
- Apple tvOS Simulator on x86_64
|
||||
|
||||
@ -14,25 +14,25 @@ Apple WatchOS targets:
|
||||
|
||||
## 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
|
||||
(`AppleTVSimulator.sdk`) to build a toolchain and target these platforms.
|
||||
|
||||
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.
|
||||
|
||||
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
|
||||
of XCode and your SDKs.
|
||||
of Xcode and your SDKs.
|
||||
|
||||
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`.
|
||||
|
||||
## 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
|
||||
[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
|
||||
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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user