rustlings/build.rs

7 lines
248 B
Rust
Raw Normal View History

2025-01-02 00:01:39 +03:00
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`");
}