tarka / xcp

An extended `cp`
GNU General Public License v3.0
756 stars 25 forks source link

Alas doesn't compile on win7 #2

Open gilescope opened 5 years ago

gilescope commented 5 years ago

Compiling xcp v0.4.0 error[E0433]: failed to resolve: could not find unix in os --> xcp-0.4.0\src\operations.rs:22:14 | 22 | use std::os::unix::fs::symlink; | ^^^^ could not find unix in os

error[E0425]: cannot find function symlink in this scope --> xcp-0.4.0\src\operations.rs:118:26 | 118 | let _r = symlink(&from, &to); | ^^^^^^^ not found in this scope

error: aborting due to 2 previous errors

tarka commented 5 years ago

Yeah, kind-of expected. Unfortunately I've never managed to get Rust to install properly on Win10, so I'm not in a position to fix it myself.