rustc --print=foo=file
is not documented in rustc --help -v
#139794
Labels
A-CLI
Area: Command-line interface (CLI) to the compiler
A-diagnostics
Area: Messages for errors, warnings, and lints
A-print-requests
Area: print requests (`--print=...`)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I recently learned from @Urgau that one can use something like
rustc --print=cfg=file.txt
to have rustc dump the output into a file rather than to stdout. This is mentioned in the rustc book but should also be documented inrustc --help -v
.The text was updated successfully, but these errors were encountered: