Fix must_use warning in bin/build.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
Jiahao XU 2024-11-29 19:06:25 +11:00 committed by GitHub
parent e9afd41949
commit 61e89e0d6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();