From 61e89e0d6e8fd4a512b6ee3cb2050636be8516b6 Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Fri, 29 Nov 2024 19:06:25 +1100 Subject: [PATCH] Fix must_use warning in bin/build.rs Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --- crates/bin/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bin/build.rs b/crates/bin/build.rs index e51d1dd2..69897fdc 100644 --- a/crates/bin/build.rs +++ b/crates/bin/build.rs @@ -17,7 +17,7 @@ fn main() { println!("cargo:rerun-if-changed=manifest.rc"); println!("cargo:rerun-if-changed=windows.manifest"); - embed_resource::compile("manifest.rc", embed_resource::NONE); + embed_resource::compile("manifest.rc", embed_resource::NONE).manifest_required().unwrap(); }); let git = Command::new("git").arg("--version").spawn();