rustc --help
does not show all available flags of rustc --print
#137853
Labels
A-CLI
Area: Command-line interface (CLI) to the compiler
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
rustc --print
with an invalid name, for example,x
, shows:error: unknown print request: `x` | = help: valid print requests are: `all-target-specs-json`, `calling-conventions`, `cfg`, `check-cfg`, `code-models`, `crate-name`, `deployment-target`, `file-names`, `host-tuple`, `link-args`, `native-static-libs`, `relocation-models`, `split-debuginfo`, `stack-protector-strategies`, `sysroot`, `target-cpus`, `target-features`, `target-libdir`, `target-list`, `target-spec-json`, `tls-models`
This seems correct, but
rustc --help
's description of--print
is:This list does not contain
host-tuple
split-debuginfo
Maybe related
--print host-tuple
to print host target tuple #125579 : This added--print host-tuple
, but it seems not applied torustc --help
at this pointMeta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: