What is root.zig?

zig init creates a project that can be used both a library (→root.zig) and an executable(→main.zig).
So if you only need the executable you can safely remove root.zig.

2 Likes