File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ pub fn build(b: *std.Build) void {
55 _ = b .standardOptimizeOption (.{});
66
77 // Library module
8- const lib_mod = b .addModule ("zig-config " , .{
8+ const lib_mod = b .addModule ("zig_config " , .{
99 .root_source_file = b .path ("src/zig-config.zig" ),
1010 .target = target ,
1111 .link_libc = true ,
@@ -38,7 +38,7 @@ pub fn build(b: *std.Build) void {
3838 // .target = target,
3939 // .optimize = optimize,
4040 // });
41- // test_exe.root_module.addImport("zig-config ", zig_config_module);
41+ // test_exe.root_module.addImport("zig_config ", zig_config_module);
4242 //
4343 // const run_test = b.addRunArtifact(test_exe);
4444 // test_step.dependOn(&run_test.step);
Original file line number Diff line number Diff line change 11.{
2- .name = .@"zig-config" ,
2+ .name = .zig_config ,
33 .version = "0.1.1" ,
44 .fingerprint = 0x98daf4fbd7f573d9 ,
55 .minimum_zig_version = "0.15.1" ,
Original file line number Diff line number Diff line change 11const std = @import ("std" );
2- const zig_config = @import ("zig-config " );
2+ const zig_config = @import ("zig_config " );
33
44// Define your configuration structure with type safety!
55const AppConfig = struct {
You can’t perform that action at this time.
0 commit comments