]> git.lizzy.rs Git - rust.git/commit
Clarify dependency requirements in the face of cross-compilation
authorJosh Triplett <josh@joshtriplett.org>
Tue, 2 Nov 2021 12:38:51 +0000 (13:38 +0100)
committerJosh Triplett <josh@joshtriplett.org>
Tue, 2 Nov 2021 12:38:51 +0000 (13:38 +0100)
commit9a016badfae61b7527f94168c2829e775d83401b
treece214a662b7c843484b10294dfef6a17b934e940
parent470b49bac9ca58e48a92a0f69aef2745413fe9b4
Clarify dependency requirements in the face of cross-compilation

The requirement on dependencies was phrased in terms of "host tools",
but it was also intended to apply equally to targets that only support
cross-compilation. Only the exception (for libraries commonly needed for
binaries on the target) was intended to apply to host tools. Reword the
requirement to talk about the dependencies required for "compiling,
linking,and emitting functional binaries, libraries, or other code for
the target", rather than generically in terms of dependencies for
rustc/cargo.

This doesn't change the net effect of the requirements, since other
requirements already stated that the target can't make the Rust
toolchain depend on proprietary libraries. However, this should make the
requirements clearer.
src/doc/rustc/src/target-tier-policy.md