zig ast-check [file]

Given a .zig source file, reports any compile errors that can be ascertained on the basis of the source code alone, without target information or type checking. If [file] is omitted, stdin is used.

Arguments

NameDescription
filefilepaths

Options

NameDescription
-h, --helpPrint help and exit
--color <arg>Enable or disable colored message
-t(debug option) Output ZIR in text form to stdout