mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-06-02 23:17:33 +02: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…
x
Reference in New Issue
Block a user