Skip to content

rustc --print=foo=file is not documented in rustc --help -v #139794

Closed
@RalfJung

Description

@RalfJung

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 in rustc --help -v.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-CLIArea: Command-line interface (CLI) to the compilerA-diagnosticsArea: Messages for errors, warnings, and lintsA-print-requestsArea: print requests (`--print=...`)C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions