From 3d679de022a42af00e1713793a12a6fa2d253c30 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Sun, 7 Feb 2021 00:44:03 -0800 Subject: [PATCH] working_copy: print warning about ignored symlinks instead of failing build The project doesn't currently build on Windows. One reason is because we had a `unimplemented!()` when trying to write a symlink. Let's print a warning instead, so the project can start building on Windows. (The next patch will fix another build problem on Windows.) --- lib/src/working_copy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/working_copy.rs b/lib/src/working_copy.rs index 0b024f4af..dfda484a0 100644 --- a/lib/src/working_copy.rs +++ b/lib/src/working_copy.rs @@ -381,7 +381,7 @@ impl TreeState { create_parent_dirs(disk_path); #[cfg(windows)] { - unimplemented!(); + println!("ignoring symlink at {:?}", path); } #[cfg(not(windows))] {