adding named module
All checks were successful
Build / build (push) Successful in 2m5s
Test / build (push) Successful in 6m25s

This commit is contained in:
2026-01-24 21:15:54 +01:00
parent 5d296743ee
commit c43ffc136e

View File

@@ -6,7 +6,7 @@ pub fn build(b: *std.Build) void {
const use_llvm = b.option(bool, "use-llvm", "use llvm") orelse (b.release_mode != .off);
const mod = b.createModule(.{
const mod = b.addModule("spv", .{
.root_source_file = b.path("src/lib.zig"),
.target = target,
.optimize = optimize,