• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

facet-rs / facet / 19946522664 / 1
58%
main: 58%

Build:
DEFAULT BRANCH: main
Ran 04 Dec 2025 10:52PM UTC
Files 190
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Dec 2025 10:50PM UTC coverage: 57.787% (+0.03%) from 57.761%
19946522664.1

push

github

fasterthanlime
fix(facet-reflect): fix UB in `Peek::as_str()` for bare `str` types

Fixes #1082.

The `as_str()` method was using `get::<&str>()` for bare `str` shapes,
which caused UB when the str data was empty (reading 16 bytes from a
0-byte allocation).

The fix distinguishes between bare `str` and `&str`:
- For bare `str`: use `get::<str>()` which creates a reference to the
  str bytes pointed to by the wide pointer
- For `&str`: fall through to the existing pointer handler which
  correctly uses `get::<&str>()` to read the fat pointer from memory

This also improves string equality comparison in facet-diff, which
now correctly identifies equal string fields as unchanged.

22820 of 39490 relevant lines covered (57.79%)

502.39 hits per line

Source Files on job 19946522664.1
  • Tree
  • List 190
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19946522664
  • cb87d63a on github
  • Prev Job for on main (#19945465478.1)
  • Next Job for on main (#19947376743.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc