| ... | @@ -44,7 +44,7 @@ pub fn build(b: *std.Build) void { | ... | @@ -44,7 +44,7 @@ pub fn build(b: *std.Build) void { |
| 44 | // Here we define an executable. An executable needs to have a root module | 44 | // Here we define an executable. An executable needs to have a root module |
| 45 | // which needs to expose a `main` function. While we could add a main function | 45 | // which needs to expose a `main` function. While we could add a main function |
| 46 | // to the module defined above, it's sometimes preferable to split business | 46 | // to the module defined above, it's sometimes preferable to split business |
| 47 | // business logic and the CLI into two separate modules. | 47 | // logic and the CLI into two separate modules. |
| 48 | // | 48 | // |
| 49 | // If your goal is to create a Zig library for others to use, consider if | 49 | // If your goal is to create a Zig library for others to use, consider if |
| 50 | // it might benefit from also exposing a CLI tool. A parser library for a | 50 | // it might benefit from also exposing a CLI tool. A parser library for a |