Last updated: 2026-06-12

CLI & Entrypoints

CLI

All API Sections

ZINC_RT backend entrypoint.

The M0 binary is intentionally small: it brings up tier selection and the T-CPU packet runner without linking the Vulkan backend. Pass `--prompt` to drive the host-assisted forward path, or `--probe-tier` to report tier admission status without running a model.

2 exports 0 methods src/zinc_rt/main.zig

2 exports shown

constant

std_options

#
pub const std_options = std.Options{

Zig standard library log configuration for the zinc_rt binary.

Lowering this to `.debug` keeps the M0 trace prints visible without an extra build flag; the engine itself respects `ZINC_RT_LOG_LEVEL`.

src/zinc_rt/main.zig:17

function

main

#
pub fn main() !void

Process entrypoint for the `zinc` binary built with `-Dbackend=zinc_rt`.

Parses CLI flags, selects the runtime tier from `ZINC_RT_TIER`, and dispatches to the help, probe, prompt, or T-CPU smoke path. with status 1 on argument or tier-parse failures.

Returns

Propagates any allocation, argument, or runtime error; exits

src/zinc_rt/main.zig:35