Skip to content

build(deps): replace iai-callgrind with gungraun - #434

Merged
plusky merged 1 commit into
mainfrom
build/gungraun-428
Nov 17, 2026
Merged

plusky merged 1 commit into
mainfrom
build/gungraun-428

Conversation

@plusky

@plusky plusky commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Moves the instruction-count benches from iai-callgrind to gungraun 0.20.0, the same project under its new name, which drops the unmaintained proc-macro-error2 and with it cargo's future-incompatibility note; perf.yml installs the runner at the version it reads from Cargo.lock. Verified: cargo report future-incompatibilities names proc-macro-error2 before 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, and perf.yml passes on this branch (run 44090000448).

Closes #428

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
plusky force-pushed the build/gungraun-428 branch from e285305 to 312a5f9 Compare November 17, 2026 15:20
@plusky
plusky merged commit 92c66f5 into main Nov 17, 2026
19 checks passed
@plusky
plusky deleted the build/gungraun-428 branch November 17, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build: proc-macro-error2 2.0.1 will be rejected by a future Rust (via iai-callgrind)

1 participant