diff --git a/crates/uv-cache/src/lib.rs b/crates/uv-cache/src/lib.rs index af28bb26c..a1ad360a4 100644 --- a/crates/uv-cache/src/lib.rs +++ b/crates/uv-cache/src/lib.rs @@ -160,7 +160,7 @@ impl Cache { /// Create a temporary cache directory. pub fn temp() -> Result { - let temp_dir = tempfile::tempdir()?; + let temp_dir = tempfile::tempdir_in("")?; Ok(Self { root: temp_dir.path().to_path_buf(), refresh: Refresh::None(Timestamp::now()),