wchang22/LuminS

Windows compability planned?

Closed this issue · 1 comments

Currently this does not compile on Windows 10. Checked current master an v0.3.0. On linux lms compiles just fine.

This would be great to sync files between my linux laptops and my windows gaming rig.

error[E0046]: not all trait items implemented, missing: `copy`
   --> src\lumins\file_ops.rs:101:1
    |
25  |     fn copy(&self, src: &PathBuf, dest: &PathBuf);
    |     ---------------------------------------------- `copy` from trait
...
101 | impl FileOps for Symlink {
    | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `copy` in implementation

error: aborting due to previous error

For more information about this error, try `rustc --explain E0046`.
error: Could not compile `lms`.

To learn more, run the command again with --verbose

I create this pr #20 which resolve this problem.