@@ -6,7 +6,7 @@ pub fn build(b: *std.Build) void {
66
77 // Dependencies - manually add zig-config from local path
88 const zig_config_path = "../zig-config/src/zig-config.zig" ;
9- const zig_config_mod = b .addModule ("zig-config " , .{
9+ const zig_config_mod = b .addModule ("zig_config " , .{
1010 .root_source_file = b .path (zig_config_path ),
1111 .target = target ,
1212 .optimize = optimize ,
@@ -18,7 +18,7 @@ pub fn build(b: *std.Build) void {
1818 });
1919
2020 // Add zig-config as a dependency
21- crosswind_lib .addImport ("zig-config " , zig_config_mod );
21+ crosswind_lib .addImport ("zig_config " , zig_config_mod );
2222
2323 // Executable (CLI)
2424 const exe = b .addExecutable (.{
@@ -31,7 +31,7 @@ pub fn build(b: *std.Build) void {
3131 });
3232
3333 exe .root_module .addImport ("crosswind" , crosswind_lib );
34- exe .root_module .addImport ("zig-config " , zig_config_mod );
34+ exe .root_module .addImport ("zig_config " , zig_config_mod );
3535
3636 b .installArtifact (exe );
3737
@@ -55,7 +55,7 @@ pub fn build(b: *std.Build) void {
5555 }),
5656 });
5757
58- lib_tests .root_module .addImport ("zig-config " , zig_config_mod );
58+ lib_tests .root_module .addImport ("zig_config " , zig_config_mod );
5959
6060 const run_lib_tests = b .addRunArtifact (lib_tests );
6161
@@ -68,7 +68,7 @@ pub fn build(b: *std.Build) void {
6868 }),
6969 });
7070
71- comprehensive_tests .root_module .addImport ("zig-config " , zig_config_mod );
71+ comprehensive_tests .root_module .addImport ("zig_config " , zig_config_mod );
7272 comprehensive_tests .root_module .addImport ("crosswind" , crosswind_lib );
7373
7474 const run_comprehensive_tests = b .addRunArtifact (comprehensive_tests );
@@ -132,7 +132,7 @@ pub fn build(b: *std.Build) void {
132132 });
133133
134134 cross_exe .root_module .addImport ("crosswind" , crosswind_lib );
135- cross_exe .root_module .addImport ("zig-config " , zig_config_mod );
135+ cross_exe .root_module .addImport ("zig_config " , zig_config_mod );
136136
137137 // Static linking only for Linux and Windows (macOS doesn't support static libc)
138138 if (cross_target .query .os_tag == .linux or cross_target .query .os_tag == .windows ) {
@@ -168,7 +168,7 @@ pub fn build(b: *std.Build) void {
168168 });
169169
170170 cross_exe .root_module .addImport ("crosswind" , crosswind_lib );
171- cross_exe .root_module .addImport ("zig-config " , zig_config_mod );
171+ cross_exe .root_module .addImport ("zig_config " , zig_config_mod );
172172
173173 // Static linking only for Linux and Windows
174174 if (cross_target .query .os_tag == .linux or cross_target .query .os_tag == .windows ) {
@@ -204,7 +204,7 @@ pub fn build(b: *std.Build) void {
204204 });
205205
206206 release_exe .root_module .addImport ("crosswind" , crosswind_lib );
207- release_exe .root_module .addImport ("zig-config " , zig_config_mod );
207+ release_exe .root_module .addImport ("zig_config " , zig_config_mod );
208208 release_exe .root_module .strip = true ;
209209
210210 const install_release = b .addInstallArtifact (release_exe , .{});
@@ -222,7 +222,7 @@ pub fn build(b: *std.Build) void {
222222 });
223223
224224 release_small_exe .root_module .addImport ("crosswind" , crosswind_lib );
225- release_small_exe .root_module .addImport ("zig-config " , zig_config_mod );
225+ release_small_exe .root_module .addImport ("zig_config " , zig_config_mod );
226226 release_small_exe .root_module .strip = true ;
227227
228228 const install_release_small = b .addInstallArtifact (release_small_exe , .{});
0 commit comments