fixing runtime crash

This commit is contained in:
2026-06-18 00:16:01 +02:00
parent 8a40ca1678
commit ab84de651a
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -19,7 +19,9 @@ pub fn build(b: *std.Build) void {
}),
});
example.root_module.addImport("drm", drm);
b.installArtifact(example);
const run_example = b.addRunArtifact(example);
const example_step = b.step("example", "Run example.");
example_step.dependOn(&run_example.step);
const test_exe = b.addTest(.{ .root_module = drm });
const run_tests = b.addRunArtifact(test_exe);