summary refs log tree commit diff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index b7e63d6..ea79181 100644
--- a/build.zig
+++ b/build.zig
@@ -102,6 +102,7 @@ pub fn build(b: *std.Build) !void {
             const run_example = b.addSystemCommand(&.{ "zig", "build", "run", "--", example_path });
             run_example.setName(b.fmt("{s}", .{example_path}));
             run_example.expectExitCode(0);
+            run_example.has_side_effects = true;
             examples_step.dependOn(&run_example.step);
         }
     }