mirror of https://github.com/fairyglade/ly.git
add warning message for workaround
This commit is contained in:
parent
cf420b4d83
commit
6af4428a14
|
|
@ -51,6 +51,10 @@ pub fn build(b: *std.Build) !void {
|
|||
const termbox2 = translate_c.addModule("termbox2");
|
||||
exe.root_module.addImport("termbox2", termbox2);
|
||||
|
||||
if (optimize == .ReleaseSafe) {
|
||||
std.debug.print("warn: termbox2 module is being built in ReleaseFast due to a bug.\n", .{});
|
||||
}
|
||||
|
||||
b.installArtifact(exe);
|
||||
|
||||
const run_cmd = b.addRunArtifact(exe);
|
||||
|
|
|
|||
Loading…
Reference in New Issue