tree: 3d54723d6bffe521ae72ee7ba7acd385885877e7 [path history] [tgz]
  1. src/
  2. BUILD.gn
  3. METADATA.textproto
  4. OWNERS
  5. README.md
src/lib/diagnostics/inspect/format/rust/README.md

inspect_format

inspect_format is a library defining the VMO format for Inspect in Rust. Docs are available here.

Building

This project should be automatically included in builds.

Using

inspect_format can be used by depending on the //src/lib/diagnostics/inspect/format/rust GN target and then using the inspect_format crate in a Rust project.

inspect_format is not available in the SDK.

Testing

Unit tests for inspect_format are available in the inspect-format-tests package:

$ fx test inspect-format-tests

You'll need to include //src/lib/diagnostics/inspect/format/rust:tests in your build, either by using fx args to put it under universe_package_labels, or by fx set [....] --with //src/lib/diagnostics/inspect/format/rust:tests.