We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 274e658 commit 6b615d9Copy full SHA for 6b615d9
crates/cargo-gpu/src/lib.rs
@@ -170,6 +170,7 @@ pub struct Cli {
170
/// may fail if we can't find the user home directory
171
#[inline]
172
#[cfg(not(test))]
173
+#[expect(clippy::cfg_not_test, reason = "tests use different cache_dir")]
174
pub fn cache_dir() -> anyhow::Result<std::path::PathBuf> {
175
use anyhow::Context as _;
176
Ok(directories::BaseDirs::new()
0 commit comments