diff options
| author | Gabriel Schneider <[email protected]> | 2026-04-06 17:15:29 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-06-08 23:05:25 -0300 |
| commit | d578c82c7fb3a2ac9557926ae6690b4f13534c22 (patch) | |
| tree | e17774c89dc96e32ecdb97dda3630881a4b96a9d /build.zig | |
| parent | f014ba6efb32a80d4f4790880fa88b907b82d756 (diff) | |
| download | codenomicon-d578c82c7fb3a2ac9557926ae6690b4f13534c22.tar.gz codenomicon-d578c82c7fb3a2ac9557926ae6690b4f13534c22.zip | |
a lot of refactoring ig
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -93,6 +93,14 @@ pub fn build(b: *std.Build) !void { const loop_step = b.step("loop", "Interative Programming Loop! you should run it with watch: i.e. zig build loop --watch"); loop_step.dependOn(&runner.step); + + // objdump comparison: per-symbol side-by-side elfo vs objdump + const compare_runner = b.addRunArtifact(elfo); + compare_runner.addArtifactArg(c_test_exe); + compare_runner.addArg("--compare"); + + const objdump_step = b.step("objdump", "Compare elfo output against objdump per symbol"); + objdump_step.dependOn(&compare_runner.step); // --- const zls_check = b.step("check", "Check if the program compiles"); |
