use new term in description of --target

This commit is contained in:
Tshepang Mbambo 2025-12-23 23:35:58 +02:00
parent 99ff3fbb86
commit e7965821e8
5 changed files with 6 additions and 6 deletions

View file

@ -1798,7 +1798,7 @@ pub fn rustc_optgroups() -> Vec<RustcOptGroup> {
"<OPT>",
),
opt(Stable, Flag, "", "test", "Build a test harness", ""),
opt(Stable, Opt, "", "target", "Target triple for which the code is compiled", "<TARGET>"),
opt(Stable, Opt, "", "target", "Target tuple for which the code is compiled", "<TARGET>"),
opt(Stable, Multi, "A", "allow", "Set lint allowed", "<LINT>"),
opt(Stable, Multi, "W", "warn", "Set lint warnings", "<LINT>"),
opt(Stable, Multi, "", "force-warn", "Set lint force-warn", "<LINT>"),

View file

@ -79,8 +79,8 @@ Provide a detailed explanation of an error message.
Build a test harness.
.TP
\fB\-\-target\fR \fITARGET\fR
Target triple for which the code is compiled. This option defaults to the hosts target
triple. The target triple has the general format <arch><sub>\-<vendor>\-<sys>\-<abi>, where:
Target tuple for which the code is compiled. This option defaults to the hosts target
tuple. The target tuple has the general format <arch><sub>\-<vendor>\-<sys>\-<abi>, where:
.RS
.TP
.B <arch>

View file

@ -284,7 +284,7 @@ and instead produce a test harness. See the [Tests chapter](tests/index.md)
for more information about tests.
<a id="option-target"></a>
## `--target`: select a target triple to build
## `--target`: select a target tuple to build
This controls which [target](targets/index.md) to produce.

View file

@ -51,7 +51,7 @@ Options:
--explain <OPT> Provide a detailed explanation of an error message
--test Build a test harness
--target <TARGET>
Target triple for which the code is compiled
Target tuple for which the code is compiled
-A, --allow <LINT> Set lint allowed
-W, --warn <LINT> Set lint warnings
--force-warn <LINT>

View file

@ -51,7 +51,7 @@ Options:
--explain <OPT> Provide a detailed explanation of an error message
--test Build a test harness
--target <TARGET>
Target triple for which the code is compiled
Target tuple for which the code is compiled
-A, --allow <LINT> Set lint allowed
-W, --warn <LINT> Set lint warnings
--force-warn <LINT>