Skip to main content

Posts

Showing posts with the label Zig

Zig - hello world

Hello world in Zig PS C:\prj> mkdir hello-world PS C:\prj> cd .\hello-world\ PS C:\prj\hello-world> zig init You should see this output during init info: created build.zig info: created build.zig.zon info: created src\main.zig info: created src\root.zig info: see `zig build --help` for a menu of options Run it like this PS C:\prj\hello-world> zig build run The output should look like this steps [4/7] install... All your codebase are belong to us. Run `zig build test` to run the tests.