-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtarget_info.toml
51 lines (40 loc) · 2.89 KB
/
target_info.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# An actual implementation would probably split this over several files, however it is most conventient.
[[target]]
pattern = "*-apple-tvos"
tier = 2
maintainers = ["@thomcc"]
requirements = """
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 most (see below) of the standard library including the allocator to the 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.
As with the other Apple targets, rustc respects the common environment variables used by Xcode to configure this, in this case TVOS_DEPLOYMENT_TARGET.
Incompletely supported library functionality
As mentioned, "most" of the standard library is supported, which means that some portions are known to be unsupported. The following APIs are currently known to have missing or incomplete support:
std::process::Command's API will return an error if it is configured in a manner which cannot be performed using posix_spawn
-- this is because the more flexible fork/exec-based approach is prohibited on these platforms in favor of posix_spawn{,p}
(which still probably will get you rejected from app stores, so is likely sideloading-only).
A concrete set of cases where this will occur is difficult to enumerate (and would quickly become stale), but in some cases it may be worked around by tweaking the manner in which Command is invoked.
"""
testing = """
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.
It hopefully will be possible to improve this in the future.
"""
cross_compilation = """
This target can be cross-compiled from x86_64 or aarch64 macOS hosts.
Other hosts are not supported for cross-compilation, but might work when also providing the required Xcode SDK.
"""
[[target]]
pattern = "powerpc64-ibm-aix"
tier = 3
maintainers = [
"QIU Chaofan `[email protected]`, https://github.com/ecnelises",
"Kai LUO, `[email protected]`, https://github.com/bzEq",
]
requirements = """
This target supports host tools, std and alloc. This target cannot be cross-compiled as for now, mainly because of the unavailability of system linker on other platforms.
Binary built for this target is expected to run on Power7 or newer CPU, and AIX 7.2 or newer version.
Binary format of this platform is XCOFF. Archive file format is 'AIX big format'.
"""
testing = """
This target supports running test suites natively, but it's not available to cross-compile and execute in emulator.
"""