tree: 37a2788b2583d8a1ed425250e7e39fce3f8ae34c [path history] [tgz]
  1. meta/
  2. src/
  3. BUILD.gn
  4. OWNERS
  5. README.md
src/diagnostics/lib/selectors/README.md

selectors

selectors is a library for parsing and converting diagnostics selectors.

Building

This project should be automatically included in builds.

Using

selectors can be used by depending on the //src/diagnostics/lib/selectors gn target and then using the selectors crate in a rust project.

selectors is not available in the sdk and is intended to be used only by diagnostics binaries.

Testing

Unit tests for selectors are available in the selectors package:

$ fx run-test selectors_tests

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