Add a description field to target definitions by Noratrieb · Pull Request #121905 · rust-lang/rust (original) (raw)

Starts addressing #121051 (review)

This is the short description (64-bit MinGW (Windows 7+)) including the platform requirements.

The reason for doing it like this is that this PR will be quite prone to conflicts whenever targets get added, so it should be as simple as possible to get it merged. Future PRs which migrate targets are scoped to groups of targets, so they will not conflict as they can just touch these.

This moves some of the information from the rustc book into the compiler.
It cannot be queried yet, that is future work. It is also future work to fill out all the descriptions, which will coincide with the work of moving over existing target docs to the new format.

r? @davidtwco but anyone is also free to steal it