mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 11:43:20 +00:00
* fix(rust): report compiler-path byte trimming only when it removes a path When the reader's compiler guidance did not fit the complete-report allowance, trimming replaced the reader's coverage (max_rustc_hashes) and its guidance with the shorter byte-trimming record. In a narrow allowance range that swap alone made every hash fit, so the report kept all paths but claimed they were omitted by the byte budget and lost the count-limit control. Now, when every path fits, the reader's record and control stay and only its guidance text (which restates rustc_commit.coverage) is left out; if even that does not fit, one path is dropped so the recorded byte coverage is true. * fix(rust): keep the complete compiler record whenever it fits without guidance Check the reader's record without its guidance before building the trimming record, so trimming always removes a path and the unreachable fallback is gone. The boundary test now requires a tight budget that keeps every path with the reader's coverage record.