Landing: f972fb42f4ee

Project / Subsystem

gcc / gccrs

Date

2026-06-26

Author

Pierre-Emmanuel Patry

Commit

f972fb42f4eee428e5bf0600ddcbed1a11a110aa

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
f972fb42f4eee428e5bf0600ddcbed1a11a110aa
source_type
github
headline
gccrs: Use single node ID for all builtin types
tldr
gccrs assigns a consistent node ID to all builtin types to resolve multi-crate issues.
author
Pierre-Emmanuel Patry
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • types
  • • resolution
discussion_id_link
—
bugzilla_pr
—
date
2026-06-26T00:00:00.000Z

gccrs now assigns a single, consistent node ID and HIR ID to all builtin types, regardless of where they are created. This addresses an issue where resolving multiple crates led to duplicate node IDs for the same builtin types. By using a singleton to store these IDs, the compiler ensures type consistency across different crate resolutions.