Landing: 4d678291347d

Project / Subsystem

gcc / gccrs

Date

2026-09-04

Author

Philip Herron

Commit

4d678291347dfb6991973eabdcfc21b9716f2ed7

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
4d678291347dfb6991973eabdcfc21b9716f2ed7
source_type
github
headline
gccrs: Update type-bounds-probe to scan trait-impls only.
tldr
Optimizes trait bound probing by focusing only on trait implementations.
author
Philip Herron
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rustc
  • • optimization
discussion_id_link
—
bugzilla_pr
—
date
2026-09-04T00:00:00.000Z

This commit refines the TypeBoundsProbe::scan function in gccrs to exclusively examine trait implementations. By using the newly added trait index, the probe now avoids scanning unrelated implementation blocks, leading to more efficient and accurate type-bound checking.