Skip to content

Construct OutputType using macro and print [=FILENAME] help info - #140077

Merged
bors merged 2 commits into
rust-lang:masterfrom
xizheyin:issue-139805
Apr 22, 2025
Merged

Construct OutputType using macro and print [=FILENAME] help info#140077
bors merged 2 commits into
rust-lang:masterfrom
xizheyin:issue-139805

Conversation

@xizheyin

Copy link
Copy Markdown
Member

Closes #139805

Use define_output_types to define variants of OutputType, as well as refactor all of its methods for clarity. This way no variant is missed when pattern matching or output help messages.

On top of that, I optimized for emit help messages.

r? @jieyouxu

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-run-make Area: port run-make Makefiles to rmake.rs S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rustc --emit=foo=file is not documented in rustc --help -v

6 participants