fix(linux-gpu): fix ignored error union

This commit is contained in:
utox39
2025-07-12 01:19:53 +02:00
parent c660fc903f
commit 9af26702cc

View File

@@ -114,7 +114,7 @@ pub fn getGpuInfo(allocator: std.mem.Allocator) !std.ArrayList(GpuInfo) {
devices.*.device_id,
);
gpu_info_list.append(GpuInfo{
try gpu_info_list.append(GpuInfo{
.gpu_name = try allocator.dupe(u8, std.mem.span(name)),
.gpu_cores = 0,
.gpu_freq = 0.0,