Compare commits

...

2 Commits

4 changed files with 10 additions and 10 deletions

View File

@ -65,9 +65,9 @@ pub fn build(b: *std.Build) void {
const zgui_pkg = zgui.package(b, target, optimize, .{ .options = .{ .backend = .sdl2_opengl3, .shared = true } });
zgui_pkg.link(exe);
exe.install();
b.installArtifact(exe);
const run_cmd = exe.run();
const run_cmd = b.addRunArtifact(exe);
run_cmd.step.dependOn(b.getInstallStep());
if (b.args) |args| {
run_cmd.addArgs(args);

@ -1 +1 @@
Subproject commit 37f4ba9e31bea895fa19ef8b90d1f51111e52e67
Subproject commit 36e192a74f3be878766e1aa3e6f13ba5f92650cb

@ -1 +1 @@
Subproject commit 5b2b64a9dedd91f0cbf69ccb7a0a5ebf1fdf1691
Subproject commit 281f95b4606d449b7877f13cd5f408790b410491

View File

@ -39,7 +39,7 @@ pub const arm = struct {
}
fn populate() [0x1000]InstrFn {
comptime {
return comptime comptime_blk: {
@setEvalBranchQuota(0xE000);
var table = [_]InstrFn{und} ** 0x1000;
@ -106,8 +106,8 @@ pub const arm = struct {
};
}
return table;
}
break :comptime_blk table;
};
}
};
@ -135,7 +135,7 @@ pub const thumb = struct {
}
fn populate() [0x400]InstrFn {
comptime {
return comptime comptime_blk: {
@setEvalBranchQuota(5025); // This is exact
var table = [_]InstrFn{und} ** 0x400;
@ -228,8 +228,8 @@ pub const thumb = struct {
};
}
return table;
}
break :comptime_blk table;
};
}
};