mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Return error exit code if validation fails
This commit is contained in:
committed by
Dzmitry Malyshau
parent
3accf4dc15
commit
b6996dbd32
@@ -188,8 +188,10 @@ fn main() {
|
||||
None => {
|
||||
if info.is_some() {
|
||||
println!("Validation successful");
|
||||
return;
|
||||
} else {
|
||||
std::process::exit(!0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
};
|
||||
if output_path == "-" {
|
||||
|
||||
Reference in New Issue
Block a user