fix windows symlink_file function in integraton test not found

Signed-off-by: tommady <tommady@users.noreply.github.com>
This commit is contained in:
tommady 2025-04-11 08:45:53 +00:00
parent c418ca6240
commit cdee3dbe88
No known key found for this signature in database
GPG Key ID: 175B664929DF2F2F

View File

@ -497,7 +497,7 @@ fn tar_symlink_pack_and_unpack() {
#[cfg(unix)]
std::os::unix::fs::symlink(&files_path[0], &symlink_path).unwrap();
#[cfg(windows)]
std::os::windows::symlink_file(&files_path[0], &symlink_path).unwrap();
std::os::windows::fs::symlink_file(&files_path[0], &symlink_path).unwrap();
files_path.push(symlink_path);