Expand description
This crate contains the type definitions that are used to communicate between:
- the command line (the
cargo-haxbinary); - the custom rustc driver;
- the hax engine (the
hax-enginebinary).
Those three component send and receive messages in JSON or CBOR on stdin and stdout.
Modules§
- cli_
options - The CLI options for
cargo-hax. The types defines in this module are also used by the driver and the engine. - diagnostics
- Type to represent errors, mainly in
hax-engine. The engine doesn’t do any reporting itself: it only sends JSON to its stdout, andcargo-haxtakes care of reporting everything in a rustc style. - driver_
api - The types used to communicate between
cargo-haxand the custom driver. - engine_
api - The types used to communicate between
cargo-haxandhax-engine.
Macros§
Constants§
- HAX_
VERSION - Compile-time version of hax