tree: 5fe6dc1dd855a2b49f60b5287fe6f4f084ce5c80 [path history] [tgz]
  1. bench/
  2. meta/
  3. src/
  4. BUILD.gn
  5. METADATA.textproto
  6. OWNERS
  7. README.md
src/lib/diagnostics/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/lib/diagnostics/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 test selectors_tests

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