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

afxres / binary-rust
92%

Build:
DEFAULT BRANCH: main
Repo Added 23 Nov 2026 02:11PM UTC
Token q30IyEFah05o9Nur4i2PlUFJAflcvGaez regen
Build 18 Last
Files 15
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

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • api/slice-level-compact-int
  • ci
  • coverage
  • fix/converter-length-ceiling
  • merge/converter-length-ceiling
  • reshape-export-surface

28 Nov 2026 07:32AM UTC coverage: 92.254% (-0.3%) from 92.557%
46122101172

push

github

afxres
Reject fixed-size lengths past i32::MAX where LEN is evaluated

`Layout::LEN` is a `usize`, so `tuple_len`, `array_len` and the derive sum
formed 4 x 0x2000_0000 without a word: the type was accepted, and only its
first length-prefixed write failed. C# and C++ check the same 31-bit ceiling in
`GetConverterLength` while the converter is built.

Both sums now saturate and go through `assert_fixed_len`, so an oversized total
aborts const evaluation and the type fails to build -- the closest thing to "at
construction" an associated `const` allows. Only a fixed-size result is
constrained: a tuple with a variable member still reports 0, because its sum
never reaches a prefix.

A hand-written `Layout` impl can still declare an oversized `LEN` on its own.
That case keeps its runtime `LengthTooLarge`, now pinned by tests together with
the `i32::MAX` boundary and the variable-member exemption.

7 of 20 new or added lines in 3 files covered. (35.0%)

1 existing line in 1 file now uncovered.

1834 of 1988 relevant lines covered (92.25%)

139.99 hits per line

Relevant lines Covered
Build:
Build:
1988 RELEVANT LINES 1834 COVERED LINES
139.99 HITS PER LINE
Source Files on main
  • Tree
  • List 15
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
46122101172 main Reject fixed-size lengths past i32::MAX where LEN is evaluated `Layout::LEN` is a `usize`, so `tuple_len`, `array_len` and the derive sum formed 4 x 0x2000_0000 without a word: the type was accepted, and only its first length-prefixed write faile... push 28 Nov 2026 07:38AM UTC afxres github
92.25
46118982491 main Record the export layout and the prefix method names push 28 Nov 2026 06:58AM UTC afxres github
92.56
46114353718 main Drop the executable bit from four non-script files `.editorconfig`, `binary-bench/src/collections.rs`, `buffer_contents.rs` and `common/cases.rs` were recorded as `100755`, so a fresh clone laid down an executable `.editorconfig`. None of them is... push 28 Nov 2026 05:57AM UTC afxres github
92.55
45842603572 main Record the NonZero and PhantomData decisions and fix the Uuid references push 26 Nov 2026 02:48PM UTC afxres github
92.71
45417701466 main Rename the multiarch job to cross and drop the host target The test job already runs the suite natively on x86-64 through llvm-cov, so the matrix takes aarch64 instead. The target, arch and packages fields now mirror the C++ workflow, where arch ... push 24 Nov 2026 02:46PM UTC afxres github
92.71
45410128003 main Fold coverage into the test job The instrumented llvm-cov run executes the same suite, so it takes the place of the separate "cargo test --all" step; the no_std run stays its own check and only the coveralls upload is allowed to fail. push 24 Nov 2026 02:06PM UTC afxres github
92.71
45206572650 main Close the measured coverage gaps Line coverage 85.26% -> 90.13% (2076 lines, 1871 hit, 205 missed), tests 150 -> 162. The gaps came from the per-line lcov data, and every added test covers a real behaviour rather than a bare line: - `usize` / `i... push 23 Nov 2026 03:34PM UTC afxres github
92.71
45193380755 main Fix the stale snapshot count and the dispatch wording `tests/ui` holds 28 `.stderr` snapshots and DESIGN §20.1 says 28; README's feature list still carried 27. The CI row's `workflow_dispatch` note read as "for a manual round", which never says w... push 23 Nov 2026 02:23PM UTC afxres github
87.83
See All Builds (18)

Badge your Repo: binary-rust

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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