Creates a builder for Zig cc or c++.
Adds a compiler flag, ignoring source files and target options.
Adds multiple compiler flags.
Builds the Zig command with sanitizer flags if needed.
Builds a static or dynamic library with Zig build-lib.
Executes the Zig command, printing flags in debug mode.
Adds a source file, enabling C++ mode for .cpp/.cxx/.cc/.c++ files.
Adds multiple source files.
Sets CPU features.
Sets the target triple, transforming Apple and GNU-style triples.
Builds and executes Zig subcommands.