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
Name | Description |
---|---|
file | filepaths |
Options
Name | Description |
---|---|
-h, --help | Print help and exit |
--color <arg> | Enable or disable colored message |
-t | (debug option) Output ZIR in text form to stdout |