feat: update to zig 0.12.0-dev.2058+04ac028a2 build changes

dev
LeRoyce Pearson 2024-01-16 01:21:38 -07:00
parent a7128eaf34
commit 1d5a5b3265
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ pub fn build(b: *std.Build) void {
const optimize = b.standardOptimizeOption(.{});
const module = b.addModule("wayland", .{
.source_file = .{ .path = "src/main.zig" },
.root_source_file = .{ .path = "src/main.zig" },
});
const lib = b.addStaticLibrary(.{
@ -41,6 +41,6 @@ pub fn build(b: *std.Build) void {
.target = target,
.optimize = optimize,
});
client_connect_exe.addModule("wayland", module);
client_connect_exe.root_module.addImport("wayland", module);
b.installArtifact(client_connect_exe);
}