We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d46172 commit 2f5515fCopy full SHA for 2f5515f
build.rs
@@ -4,12 +4,10 @@ fn main() {
4
let mut res = winresource::WindowsResource::new();
5
if std::path::Path::new("logo.ico").exists() {
6
res.set_icon("logo.ico");
7
- } else {
8
- println!("cargo:warning=logo.ico not found, skipping icon embedding");
+ } else {println!("cargo:warning=logo.ico not found, skipping icon embedding");
9
return;
10
}
11
- res.compile()
12
- .map_err(|e| {
+ res.compile().map_err(|e| {
13
println!("cargo:warning=Failed to compile Windows resources: {e}");
14
})
15
.ok();
0 commit comments