mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-01-24 00:00:02 +03:00
Fix Windows CI
This commit is contained in:
parent
0b55809bb9
commit
1aec7c1152
3
build.rs
3
build.rs
|
@ -1,6 +1,5 @@
|
|||
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`");
|
||||
let _ = std::fs::copy("dev/Cargo.toml", "dev-Cargo.toml");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue