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

kaidokert / fixed-bigint-rs / 29183697479
97%

Build:
DEFAULT BRANCH: main
Ran 12 Jul 2026 07:07AM UTC
Jobs 1
Files 30
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

12 Jul 2026 07:06AM UTC coverage: 97.471% (+0.01%) from 97.459%
29183697479

push

github

web-flow
Fix panic-freeness of holder_be/holder_le under NumToBytes at -Oz (#136)

* holder_be/holder_le: inline chunks_exact_mut, drop the fallible route

`num_traits::ToBytes::to_be_bytes(&FixedUInt)` (and its LE sibling)
route through the `holder_be` / `holder_le` crate-private helpers.
Before this fix, those helpers called the fallible slice-based
`to_be_bytes(&mut [u8]) -> Result<&[u8], bool>` at `fixeduint.rs:556`,
whose runtime `if output_buffer.len() < total_bytes { return Err(false); }`
guard fails to DCE at `opt-level = z` + LTO on multi-byte limbs.
Every downstream that reaches `NumToBytes::to_be_bytes` on FixedUInt
inherits a `panic_fmt` reachable in the linked binary, even though
`BytesHolder::as_byte_slice_mut()` returns a slice of statically-known
length `N * size_of::<T>()`.

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

3199 of 3282 relevant lines covered (97.47%)

306.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29183697479.1 12 Jul 2026 07:07AM UTC 30
97.47
GitHub Action Run
Source Files on build 29183697479
  • Tree
  • List 30
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29183697479
  • e041c616 on github
  • Prev Build on main (#29076761597)
  • Next Build on main (#29186021123)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc