Skip to content

Fix argument parser for Rust >= 1.88#7806

Merged
mattgodbolt merged 1 commit intocompiler-explorer:mainfrom
narpfel:fix-rust-1.88-argument-parser
Jun 16, 2025
Merged

Fix argument parser for Rust >= 1.88#7806
mattgodbolt merged 1 commit intocompiler-explorer:mainfrom
narpfel:fix-rust-1.88-argument-parser

Conversation

@narpfel
Copy link
Member

@narpfel narpfel commented Jun 13, 2025

Resolves #7780.

Basically a follow-up to #7652; the output format of rustc --help was changed to include angle brackets < and >. This PR updates the regexes used to parse the help output and adds some tests.

@OfekShilon OfekShilon requested a review from mattgodbolt June 14, 2025 17:02
Copy link
Member

@mattgodbolt mattgodbolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @narpfel :)

@mattgodbolt mattgodbolt merged commit 299d7a2 into compiler-explorer:main Jun 16, 2025
12 checks passed
@mattgodbolt
Copy link
Member

looks good in staging

@mattgodbolt
Copy link
Member

now live

@narpfel narpfel deleted the fix-rust-1.88-argument-parser branch June 16, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Target architecture (--target) override is silently ignored for nightly/beta Rust

2 participants