Landing: 83fa84c2d7a6
Project / Subsystem
gcc / gccrs
Date
2026-07-04
Author
Owen Avery
Commit
83fa84c2d7a6f8ae7b6bff6167418c64963af0e2
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 83fa84c2d7a6f8ae7b6bff6167418c64963af0e2
- source_type
- github
- headline
- gccrs: Handle ribs in GlobbingVisitor
- tldr
- Improves import resolution by allowing GlobbingVisitor to copy definitions between 'ribs'.
- author
- Owen Avery
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • rust
- • compiler internals
- • resolution
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-04T00:00:00.000Z
The GlobbingVisitor in gccrs has been updated to handle ‘ribs’ by copying existing definitions rather than always creating new ones from the AST. This change refactors the import resolution process, making GlobbingVisitor more efficient and accurate when dealing with nested modules and imports. It removes redundant member functions and introduces new ones focused on visiting and globbing definitions within these ‘ribs’.