mirror of
https://github.com/storytold/soundcraft.git
synced 2026-11-29 01:07:06 -06:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e584701c5 |
@@ -67,7 +67,10 @@ fn main() {
|
||||
}
|
||||
if let Err(e) = res.compile() {
|
||||
if std::env::var_os("SOUNDCRAFT_REQUIRE_WINRES").is_some() {
|
||||
panic!("embedding Windows resources failed: {e}");
|
||||
// The workspace denies `clippy::panic`, build scripts included: stop the build with
|
||||
// the reason on stderr.
|
||||
eprintln!("embedding Windows resources failed: {e}");
|
||||
std::process::exit(1);
|
||||
}
|
||||
println!("cargo:warning=soundcraft.exe built without icon/version resources: {e}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user