fix: update build.zig

This commit is contained in:
Kai Angulo 2024-10-22 23:39:08 -07:00
parent 8a7560f24a
commit 6cbc4e84f4

View file

@ -71,9 +71,7 @@ pub fn build(b: *Build) !void {
tools_lib = dep.artifact("SPIRV-Tools");
tools_opt = dep.artifact("SPIRV-Tools-opt");
tools_val = dep.artifact("SPIRV-Tools-val");
}
if (tools_lib == undefined or tools_opt == undefined or tools_val == undefined) {
} else {
log.err("Error building SPIRV-Tools libraries", .{});
std.process.exit(1);
}