summaryrefslogtreecommitdiff
path: root/build/tests.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build/tests.zig')
-rw-r--r--build/tests.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/tests.zig b/build/tests.zig
index 5417c54a..d8bce18d 100644
--- a/build/tests.zig
+++ b/build/tests.zig
@@ -191,7 +191,7 @@ pub fn add(b: *std.Build, c: struct {
_ = units.add(b, units.root(b, "src/fonts.zig", true, cloud9), null);
_ = units.add(b, units.root(b, "src/c_heap.zig", false, cloud9), null);
// Its lookup goes wrong only where the optimizer folds it.
- _ = units.add(b, b.addTest(.{ .root_module = b.createModule(.{ .target = c.target, .optimize = .ReleaseSafe, .root_source_file = b.path("src/c_heap.zig"), .link_libc = false, .imports = cloud9 }), .filters = c.test_filters }), null);
+ _ = units.add(b, b.addTest(.{ .root_module = b.createModule(.{ .target = c.target, .optimize = .safe, .root_source_file = b.path("src/c_heap.zig"), .link_libc = false, .imports = cloud9 }), .filters = c.test_filters }), null);
_ = units.add(b, units.root(b, "test/deck/replay.zig", null, &.{.{ .name = "deck", .module = b.createModule(.{ .target = c.target, .optimize = c.optimize, .root_source_file = b.path("src/gui/deck.zig") }) }}), null);