tree: bc2af8a29dd773c52581209d6f756ab05b7dfe79 [search]
  1. bench/
  2. meta/
  3. src/
  4. BUILD.gn
  5. OWNERS
  6. README.md
src/lib/inspect/rust/fuchsia-inspect/README.md

fuchsia_inspect

fuchsia_inspect is a library for writing and reading Inspect-formatted VMOs. Docs are available here.

Building

This project should be automatically included in builds.

Using

fuchsia_inspect can be used by depending on the //src/lib/inspect/rust/fuchsia-inspect GN target and then using the fuchsia_inspect crate in a Rust project.

fuchsia_inspect is not available in the SDK.

Testing

Unit tests for fuchsia_inspect are available in the fuchsia_inspect_tests package:

$ fx run-test fuchsia_inspect_tests

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