about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-08-14 21:48:43 +0200
committerGitHub <noreply@github.com>2025-08-14 21:48:43 +0200
commit06246bfc7373acfdf23ff6424dec1578f98a7ac2 (patch)
treeba4d2a5420a06e40f3f70a1038fbd4c5acc2d0b8 /compiler/rustc_codegen_llvm/src
parentebd4a10dcfb5d84a0c5a19dd1117b5a6dd53e5f4 (diff)
parente08c75533c41d9e209258acac98daf0fba5b99eb (diff)
downloadrust-06246bfc7373acfdf23ff6424dec1578f98a7ac2.tar.gz
rust-06246bfc7373acfdf23ff6424dec1578f98a7ac2.zip
Rollup merge of #145324 - Kobzol:bootstrap-host-only, r=jieyouxu
Rename and document `ONLY_HOSTS` in bootstrap

Everytime I examined the `ONLY_HOSTS` flag of bootstrap steps, I was utterly confused. Why is it called ONLY_HOSTS? How does the fact that it is skipped if `--target` is passed, but `--host` is not (which was not accurate) help me?

The reality of the flag is that if it is true, the targets for which the given Step will be built is determined based on the `--host` flag, while if it is false, it is determined based on the `--target` flag, that's pretty much it. The previous comment was just a (not very helpful and not even accurate) corollary of that.

I clarified the comment, and also renamed the flag to `IS_HOST` (happy to brainstorm better names, but the doc. comment change is IMO the main improvement).

r? ``@jieyouxu``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions