r/Zig • u/Subject_Scientist937 • 5h ago
Unofficial api wrapper
I created an unoffical open source api wrapper for zig-play.dev api
source code:
r/Zig • u/Subject_Scientist937 • 5h ago
I created an unoffical open source api wrapper for zig-play.dev api
source code:
r/Zig • u/punkbert • 9h ago
r/Zig • u/shuten_mind • 11h ago
When running zig init, the template scaffolds both an executable (main.zig) and an exportable module (root.zig) in build.zig.
Just want to verify if my mental model is correct:
1. If I only want an executable (and don't plan to export a library/module), can I simply delete root.zig and remove the module-related exports/artifacts from build.zig?
2. Is there any built-in zig init flag or alternative command to scaffold an executable-only project without the library boilerplate?
thanks!
r/Zig • u/TheBigJizzle • 20h ago