forked from rust-lang/libc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rustc version when
clippy-driver
is used
This is a combined cherry-pick of the following two commits: - 18b8da9 ("Handle rustc version output correctly...") - d61f6f6 ("Update `rustc_version_cmd`") These two commits are squashed for the backport to slightly reduce the amount of conflict resolution needed going forward (some small tweaks were still needed). This backports the following: - <rust-lang#3893> - <rust-lang#3903> Handle rustc version output correctly when `clippy-driver` used Update `rustc_version_cmd` Change `if let` to a `match` because it is about equal complexity. This should allow backporting [1] easier. Additionally, add some new documentation comments. [1]: rust-lang#3893
- Loading branch information
1 parent
fdd3a26
commit ff4af75
Showing
1 changed file
with
39 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters