Repository navigation
chore(deps): update rust crate branches to v0.5.1 - #300
renovate[bot] wants to merge 1 commit into
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #300 +/- ##
==========================================
- Coverage 50.28% 49.76% -0.52%
==========================================
Files 40 39 -1
Lines 13203 13040 -163
==========================================
- Hits 6639 6490 -149
+ Misses 6564 6550 -14
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
Leaving this update on hold until Koko's Turso dependency chain adopts Koko's direct Turso's latest stable ( I reproduced the compiler error with CI's exact nightly compiler. Adding a pinned legacy dev-dependency with |



This PR contains the following updates:
=0.4.6→=0.5.1Release Notes
fereidani/branches (branches)
v0.5.0assumeis now aconst fnon every supported compiler, so const fns can carry optimizer invariants such asassume(len <= CAP)without any version plumbing on the caller's side. Rust older than 1.57 has no const-legal way to state an assumption (core::hint::unreachable_uncheckedbecame callable in const fn in 1.57), so on rustc 1.51-1.56assumecompiles to a no-op and the hint is dropped there. From 1.59 the hint is exactly as effective as a hand-inlined check; on 1.57-1.58 old LLVM may keep a cheap loop-invariant compare that a hand-inlined check would fold.rustc_versionbuild-dependency is gone: the build script now readsrustc -vVitself, leaving the crate with zero dependencies. Recent releases of thesemvercrate (whichrustc_versionpulls in) ship manifests that cargo older than 1.60 cannot parse, which would have made the 1.51 MSRV unusable in practice.likely/unlikely/mark_unlikelyno longer leave a residual call to an empty#[cold]helper in callers' cold paths, nor the stack-alignment push/pop that call forced onto the hot path: LLVM 19+ records the coldness as branch weights before the empty call is inlined away, so the helpers drop#[inline(never)]there. All other builds - older compilers, and opt-levels 0/1/s/z, whose pipelines record no such weights (also true ofcore::hint::cold_pathon 1.95+) - keep the out-of-line call, which is what carries the hint for them. Verified against every stable release from 1.84 through 1.94, and at opt-levels 1, 2, 3 and s; 1.95+ already usedcore::hint::cold_pathand is unchanged.s390x(pfd) andpowerpc/powerpc64(dcbt/dcbtst), includingpowerpc64le. Both are gated on the rustc release that stabilized inline assembly for the architecture (1.84 fors390x, 1.95 for PowerPC); older compilers keep building the crate with prefetch as a no-op. Neither architecture has cache-level selection in its prefetch instruction, soLOCALITYis ignored there.Configuration
📅 Schedule: (in timezone America/New_York)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.