From a62f6c5a35a5cc2fdbf28f99a5fa0f61daf027bd Mon Sep 17 00:00:00 2001 From: sxyazi Date: Mon, 18 Sep 2023 08:43:52 +0800 Subject: [PATCH] .. --- core/src/tasks/workers/file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/tasks/workers/file.rs b/core/src/tasks/workers/file.rs index cde14129..d822f919 100644 --- a/core/src/tasks/workers/file.rs +++ b/core/src/tasks/workers/file.rs @@ -140,7 +140,7 @@ impl File { { fs::symlink(src, &task.to).await? } - #[cfg(target_os = "windows")] + #[cfg(windows)] { if meta.is_dir() { fs::symlink_dir(src, &task.to).await?