refactor(linux-gpu): use the new managed array list

This commit is contained in:
utox39
2025-08-25 03:16:45 +02:00
parent 5730f14897
commit 9c4e032c04

View File

@@ -113,8 +113,8 @@ pub fn getCpuInfo(allocator: std.mem.Allocator) !CpuInfo {
}; };
} }
pub fn getGpuInfo(allocator: std.mem.Allocator) !std.ArrayList(GpuInfo) { pub fn getGpuInfo(allocator: std.mem.Allocator) !std.array_list.Managed(GpuInfo) {
var gpu_info_list = std.ArrayList(GpuInfo).init(allocator); var gpu_info_list = std.array_list.Managed(GpuInfo).init(allocator);
const display_controller = 0x03; const display_controller = 0x03;