You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is some vague talk of maybe someday integrating clippy-driver into cargo build and cargo checkrust-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
I don't have clippy-driver installed locally. If you run clippy-driver -vV what does it output? sccache needs some way to determine whether the compiler is rustc or a C/C++ compiler.
The Preface
There is some vague talk of maybe someday integrating
clippy-driver
intocargo build
andcargo check
rust-lang/cargo#7382, so I went and tried to test if we could just useclippy-driver
as a drop in replacement forrustc
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 ofrustc
The Fix
@mystor suggested that someone fix it @
sccache/src/compiler/compiler.rs
Line 842 in 6371211
The text was updated successfully, but these errors were encountered: