From 2e5d5034f172ed4b5f99bbd0ab5f8bb92bcf45a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=B6nnhager?= Date: Thu, 16 Jan 2025 14:57:20 +0100 Subject: [PATCH] fixup! Clean up wireguard-go-rs build script --- wireguard-go-rs/build.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wireguard-go-rs/build.rs b/wireguard-go-rs/build.rs index 7600b54df52e..308715b05750 100644 --- a/wireguard-go-rs/build.rs +++ b/wireguard-go-rs/build.rs @@ -285,8 +285,7 @@ fn build_shared_maybenot_lib(out_dir: impl AsRef) -> 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(())