diff options
| author | Thom Chiovoloni <chiovolonit@gmail.com> | 2023-06-04 08:51:07 -0700 |
|---|---|---|
| committer | Thom Chiovoloni <thom@shift.click> | 2023-06-21 14:59:40 -0700 |
| commit | a3f5566858aac8a41c3600d895626d0d2b0eeacd (patch) | |
| tree | 2a10c33f29a67410b0cfe96d98f9c35652ab594c | |
| parent | 6e62961474878c25464c748c41d951d1d4cff1a9 (diff) | |
| download | rust-a3f5566858aac8a41c3600d895626d0d2b0eeacd.tar.gz rust-a3f5566858aac8a41c3600d895626d0d2b0eeacd.zip | |
Apply suggestions from code review
Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
| -rw-r--r-- | src/doc/rustc/src/platform-support/apple-tvos.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/doc/rustc/src/platform-support/apple-tvos.md b/src/doc/rustc/src/platform-support/apple-tvos.md index 95256178cfd..2446c5fc10f 100644 --- a/src/doc/rustc/src/platform-support/apple-tvos.md +++ b/src/doc/rustc/src/platform-support/apple-tvos.md @@ -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. |
