Skip to content

Commit

Permalink
fixup! Clean up wireguard-go-rs build script
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Jan 16, 2025
1 parent 52bf987 commit 2e5d503
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wireguard-go-rs/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,7 @@ fn build_shared_maybenot_lib(out_dir: impl AsRef<Path>) -> anyhow::Result<()> {
] {
let src = artifacts_dir.join(src_filename);
let dest = out_dir.as_ref().join(dest_filename);
fs::copy(&src, &dest)
.with_context(|| format!("Failed to copy {src_filename} to {dest_filename}",))?;
fs::copy(&src, &dest).with_context(|| format!("Failed to copy {src_filename}",))?;
}

Ok(())
Expand Down

0 comments on commit 2e5d503

Please sign in to comment.