diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-07-26 12:18:23 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-07-26 12:18:23 -0700 |
| commit | 5d3a1cfdf576dfc4fc40c3f9f352e0fc613f0fee (patch) | |
| tree | 28b7a57ffc40cf991c93aee2976c528465d02696 /lib/init/src/root.zig | |
| parent | 208baa37caa3830fbdf2b809ed663cec2c5585cc (diff) | |
| download | zig-5d3a1cfdf576dfc4fc40c3f9f352e0fc613f0fee.tar.gz zig-5d3a1cfdf576dfc4fc40c3f9f352e0fc613f0fee.zip | |
update init template
* add fuzz example
* explain that you might want to delete main.zig or root.zig
Diffstat (limited to 'lib/init/src/root.zig')
| -rw-r--r-- | lib/init/src/root.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/init/src/root.zig b/lib/init/src/root.zig index ecfeade1a3..2e09025c9b 100644 --- a/lib/init/src/root.zig +++ b/lib/init/src/root.zig @@ -1,3 +1,6 @@ +//! By convention, root.zig is the root source file when making a library. If +//! you are making an executable, the convention is to delete this file and +//! start with root.zig instead. const std = @import("std"); const testing = std.testing; |
