Repository navigation
build(deps): replace iai-callgrind with gungraun - #434
Merged
Merged
Conversation
Every build with dev-dependencies ends with cargo's future-incompatibility note for proc-macro-error2 2.0.1 (E0365, a re-export of a private extern crate), which the instruction-count benches pull in through iai-callgrind-macros. proc-macro-error2 is unmaintained (RUSTSEC-2026-0173) and will not be fixed. iai-callgrind was renamed to gungraun at 0.17, and gungraun-macros moved to proc-macro-error3 in 0.19.2. Taking gungraun 0.20.0 removes proc-macro-error2 from the lock, and `cargo report future-incompatibilities` has nothing to report under the pinned toolchain. The lock holds bincode-next at 2.1.0: its 3.1 line needs Rust 1.90 and the workspace MSRV is 1.88. The `iai` feature keeps its name, because bugwarden-core is published and the name is part of its interface. perf.yml installs gungraun-runner at the version it reads from Cargo.lock, because the runner refuses a library of any other version, and caches target/gungraun, where the results now go.
plusky
force-pushed
the
build/gungraun-428
branch
from
November 17, 2026 15:20
e285305 to
312a5f9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the instruction-count benches from
iai-callgrindtogungraun0.20.0, the same project under its new name, which drops the unmaintainedproc-macro-error2and with it cargo's future-incompatibility note;perf.ymlinstalls the runner at the version it reads fromCargo.lock. Verified:cargo report future-incompatibilitiesnamesproc-macro-error2before and has nothing to report after under 1.100.0, the workspace checks on the 1.88 MSRV, the benches run, compare against a previous run and trip the 20% limit locally, andperf.ymlpasses on this branch (run 44090000448).Closes #428