summaryrefslogtreecommitdiff
path: root/build.rs
blob: 79a1fadda02697dcf3b638683d9cd663d5612e03 (plain)
1
2
3
4
5
6
fn main() {
    // Fix building from source on Windows because it can't handle file links.
    #[cfg(windows)]
    std::fs::copy("dev/Cargo.toml", "dev-Cargo.toml")
        .expect("Failed to copy the file `dev/Cargo.toml` to `dev-Cargo.toml`");
}