ocaml-containers/src/cbor/dune
Simon Cruanes 115b6276a3 Use instrumentation stanza for CBOR (cleaner approach)
Changed CBOR from 'pps bisect_ppx' to 'instrumentation (backend bisect_ppx)'
which is dune's recommended approach for coverage when not using custom
preprocessing.

Benefits:
- Cleaner dune syntax
- Use --instrument-with bisect_ppx flag (no env vars needed)
- Coverage files auto-managed in _build
- More idiomatic dune

Updated documentation to reflect new usage:
  dune runtest --instrument-with bisect_ppx
  bisect-ppx-report summary --coverage-path=_build

Core library still uses 'pps bisect_ppx' due to per-module preprocessing
requirements (cpp.exe for 3 modules).
2026-02-08 12:25:58 +00:00

5 lines
129 B
Text

(library
(name containers_cbor)
(libraries containers)
(instrumentation (backend bisect_ppx))
(public_name containers.cbor))