From c418ca62403701d55a34155c57f9a60bd247a59a Mon Sep 17 00:00:00 2001 From: tommady Date: Fri, 11 Apr 2025 08:40:48 +0000 Subject: [PATCH] fix windows symlink_file function not found Signed-off-by: tommady --- src/archive/tar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/archive/tar.rs b/src/archive/tar.rs index e581af5..d101bf6 100644 --- a/src/archive/tar.rs +++ b/src/archive/tar.rs @@ -43,7 +43,7 @@ pub fn unpack_archive(reader: Box, output_folder: &Path, quiet: bool) #[cfg(unix)] std::os::unix::fs::symlink(&target, &full_path)?; #[cfg(windows)] - std::os::windows::symlink_file(&target, &full_path)?; + std::os::windows::fs::symlink_file(&target, &full_path)?; } tar::EntryType::Regular | tar::EntryType::Directory => { file.unpack_in(output_folder)?;