File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ pub fn build(b: *std.Build) void {
4242 // Modules can depend on one another using the `std.Build.Module.addImport` function.
4343 // This is what allows Zig source code to use `@import("foo")` where 'foo' is not a
4444 // file path. In this case, we set up `exe_mod` to import `lib_mod`.
45- exe_mod .addImport ("zig_plscommit_lib " , lib_mod );
45+ exe_mod .addImport ("plscommit_lib " , lib_mod );
4646
4747 // Now, we will create a static library based on the module we created above.
4848 // This creates a `std.Build.Step.Compile`, which is the build step responsible
4949 // for actually invoking the compiler.
5050 const lib = b .addLibrary (.{
5151 .linkage = .static ,
52- .name = "zig_plscommit " ,
52+ .name = "plscommit " ,
5353 .root_module = lib_mod ,
5454 });
5555
@@ -61,7 +61,7 @@ pub fn build(b: *std.Build) void {
6161 // This creates another `std.Build.Step.Compile`, but this one builds an executable
6262 // rather than a static library.
6363 const exe = b .addExecutable (.{
64- .name = "zig_plscommit " ,
64+ .name = "plscommit " ,
6565 .root_module = exe_mod ,
6666 });
6767
Original file line number Diff line number Diff line change 66 //
77 // It is redundant to include "zig" in this name because it is already
88 // within the Zig package namespace.
9- .name = .zig_plscommit ,
9+ .name = .plscommit ,
1010
1111 // This is a [Semantic Version](https://semver.org/).
1212 // In a future version of Zig it will be used for package deduplication.
13- .version = "0 .0.0" ,
13+ .version = "1 .0.0" ,
1414
1515 // Together with name, this represents a globally unique package
1616 // identifier. This field is generated by the Zig toolchain when the
2424 // original project's identity. Thus it is recommended to leave the comment
2525 // on the following line intact, so that it shows up in code reviews that
2626 // modify the field.
27- .fingerprint = 0x5ea5675e189ddb99 , // Changing this has security and trust implications.
27+ .fingerprint = 0xb37827370dff63e3 , // Changing this has security and trust implications.
2828
2929 // Tracks the earliest Zig version that the package considers to be a
3030 // supported use case.
You can’t perform that action at this time.
0 commit comments