Skip to content

Commit

Permalink
Fix Windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mo8it committed Jan 1, 2025
1 parent 0b55809 commit 1aec7c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.rs
Original file line number Diff line number Diff line change
@@ -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");
}

0 comments on commit 1aec7c1

Please sign in to comment.