Skip to content

fix: properly determine output plugin or rustc version#45

Open
WERDXZ wants to merge 1 commit into
cognitive-engineering-lab:mainfrom
WERDXZ:fix/print-proper-version
Open

fix: properly determine output plugin or rustc version#45
WERDXZ wants to merge 1 commit into
cognitive-engineering-lab:mainfrom
WERDXZ:fix/print-proper-version

Conversation

@WERDXZ
Copy link
Copy Markdown

@WERDXZ WERDXZ commented Jun 7, 2026

in libc v0.2.186

https://github.com/rust-lang/libc/blob/main/build.rs#L201-L225

libc want to see if its rustc 1.* version, but --version is being parsed as the outputting the plugin version because the --version flag is being treated before determining if the driver is intended to be invoked as a wrapper of rustc or not

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.

1 participant