rustlings/build.rs
2025-01-01 22:01:39 +01:00

7 lines
248 B
Rust

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`");
}