mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-04-23 12:08:46 +02: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`");
|
|
}
|