Landing: 75d28dc91e23
Project / Subsystem
gcc / gccrs
Date
2026-09-02
Author
Pierre-Emmanuel Patry
Commit
75d28dc91e230553cb433239681a2e142936d210
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 75d28dc91e230553cb433239681a2e142936d210
- source_type
- github
- headline
- gccrs: Simplify crate number lookup using HIR mapping getter
- tldr
- gccrs simplifies crate number lookup by using a dedicated getter function.
- author
- Pierre-Emmanuel Patry
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • refactor
- • rust
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-02T00:00:00.000Z
This commit refactors the crate number lookup process in gccrs by utilizing a more appropriate getter function from the HIR mappings. Instead of directly accessing the underlying set, the Mappings::get_ast_crate_by_node_id_raw function now uses the provided getter, simplifying the code.