Module diag

Module diag 

Source
Expand description

Test-time panic hook that reads build-log.jsonl and renders kernel-compilation failures in rustc’s aesthetic.

The schema is owned by the plugin (npu_opt::protocol::log); this module defines its own minimal deserialization struct and only reads the fields needed for rendering. Field names must match the producer’s schema.

Functions§

install_hook
Installs the rendering panic hook, at most once per process.