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

facet-rs / facet / 19946522664
58%

Build:
DEFAULT BRANCH: main
Ran 04 Dec 2025 10:52PM UTC
Jobs 1
Files 190
Run time 1min
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

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.

16 of 16 new or added lines in 1 file covered. (100.0%)

22820 of 39490 relevant lines covered (57.79%)

502.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19946522664.1 04 Dec 2025 10:52PM UTC 190
57.79
GitHub Action Run
Source Files on build 19946522664
  • Tree
  • List 190
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cb87d63a on github
  • Prev Build on main (#19945465478)
  • Next Build on main (#19947376743)
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