From 4e181213aed4cb98dd91f958de8a0ab808e99703 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Wed, 13 Nov 2024 17:21:34 +0100 Subject: [PATCH] fix write_version feature flag --- turbopack/crates/turbo-tasks-fs/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbopack/crates/turbo-tasks-fs/src/lib.rs b/turbopack/crates/turbo-tasks-fs/src/lib.rs index 82cf94fdb6f21..a7e8ed07320a3 100644 --- a/turbopack/crates/turbo-tasks-fs/src/lib.rs +++ b/turbopack/crates/turbo-tasks-fs/src/lib.rs @@ -735,7 +735,7 @@ impl FileSystem for DiskFileSystem { f.set_permissions(file.meta.permissions.into()).await?; #[cfg(feature = "write_version")] { - let mut full_path = full_path; + let mut full_path = full_path.into_owned(); let hash = hash_xxh3_hash64(file); let ext = full_path.extension(); let ext = if let Some(ext) = ext {