feat: emit asm

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-04-15 01:58:45 -03:00
parent dfec136a86
commit 6285a950fe
1 changed files with 1 additions and 0 deletions

View File

@ -3,5 +3,6 @@ const GBABuilder = @import("lib/ZigGBA/GBA/builder.zig");
pub fn build(b: *std.build.Builder) void { pub fn build(b: *std.build.Builder) void {
const exe = GBABuilder.addGBAExecutable(b, "first", "src/first.zig"); 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; _ = exe;
} }