fix: update to Zig v0.11.0-dev.3299+34865d693

This commit is contained in:
2023-05-25 15:41:48 -05:00
parent ccdc2cbad4
commit 3040a9f45c
3 changed files with 4 additions and 4 deletions

View File

@@ -241,7 +241,7 @@ pub fn draw(state: *State, win_dim: Dimensions, tex_id: GLuint, cpu: *Arm7tdmi)
var buf: @TypeOf(values) = undefined;
@memcpy(buf[0..len], values[0..len]);
std.sort.sort(u32, buf[0..len], {}, std.sort.asc(u32));
std.mem.sort(u32, buf[0..len], {}, std.sort.asc(u32));
break :blk buf;
};
@@ -300,7 +300,7 @@ pub fn draw(state: *State, win_dim: Dimensions, tex_id: GLuint, cpu: *Arm7tdmi)
const len = scheduler.queue.len;
@memcpy(&items, scheduler.queue.items);
std.sort.sort(Event, items[0..len], {}, widgets.eventDesc(Event));
std.mem.sort(Event, items[0..len], {}, widgets.eventDesc(Event));
for (items[0..len]) |event| {
zgui.text("{X:0>16} | {?}", .{ event.tick, event.kind });