-
Notifications
You must be signed in to change notification settings - Fork 598
Open
Description
The Preface
There is some vague talk of maybe someday integrating clippy-driver
into cargo build
and cargo check
rust-lang/cargo#7382, so I went and tried to test if we could just use clippy-driver
as a drop in replacement for rustc
under cargo build and sccache did not play nicely with it.
The Problem
sccache flat out errors out if clippy-driver
is passed in the place of rustc
The Fix
@mystor suggested that someone fix it @
sccache/src/compiler/compiler.rs
Line 842 in 6371211
let rustc_vv = if filename.to_string_lossy().to_lowercase() == "rustc" { |
Metadata
Metadata
Assignees
Labels
No labels