tree: a2ffe40d6e3027228947dfa6ec227aa124fcda90 [search]
  1. meta/
  2. src/
  3. test/
  4. BUILD.bazel
  5. BUILD.gn
  6. METADATA.textproto
  7. OWNERS
  8. README.md
src/lib/diagnostics/inspect/runtime/rust/README.md

inspect_runtime

inspect_runtime is a library that exposes Inspect data from a component to the framework.

Building

This project should be automatically included in builds.

Using

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

inspect_runtime is not available in the SDK.

Testing

Unit tests for inspect_runtime are available in the inspect-runtime-tests package:

$ fx test inspect-runtime-tests

You'll need to include //src/lib/diagnostics/inspect/runtime/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/runtime/rust:tests.