From 6285a950fea5c3e69ada018defdde7938b3ca12a Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Fri, 15 Apr 2022 01:58:45 -0300 Subject: [PATCH] feat: emit asm --- build.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/build.zig b/build.zig index 763ab75..cfb1656 100644 --- a/build.zig +++ b/build.zig @@ -3,5 +3,6 @@ const GBABuilder = @import("lib/ZigGBA/GBA/builder.zig"); pub fn build(b: *std.build.Builder) void { const exe = GBABuilder.addGBAExecutable(b, "first", "src/first.zig"); + exe.emit_asm = if (b.option(bool, "asm", "emit assembly") orelse false) .emit else .default; _ = exe; }