$ zig build --help
Usage: /home/andy/dev/zig/build/zig build [steps] [options]
Steps:
default Build the project
qemu Run the kernel with qemu
qemu-debug Run the kernel with qemu and wait for debugger to attach
General Options:
--help Print this help and exit
--build-file [file] Override path to build.zig
--cache-dir [path] Override path to cache directory
--verbose Print commands before executing them
--debug-build-verbose Print verbose debugging information for the build system itself
--prefix [prefix] Override default install prefix
Project-Specific Options:
-Drelease-safe=(bool) optimizations on and safety on
-Drelease-fast=(bool) optimizations on and safety off
Now you can do, for example:
Or:
Full help menu: