mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-01-24 00:00:02 +03:00
7 lines
248 B
Rust
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`");
|
|
}
|