Landing: 592218806a18

Project / Subsystem

gcc / gccrs

Date

2026-06-26

Author

Pierre-Emmanuel Patry

Commit

592218806a1805d3189832642a9c7c84686ca039

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
592218806a1805d3189832642a9c7c84686ca039
source_type
github
headline
Run late name resolution on extern crates.
tldr
Ensures function return types from extern crates are correctly resolved by enabling late name resolution.
author
Pierre-Emmanuel Patry
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • name resolution
  • • type checking
discussion_id_link
—
bugzilla_pr
—
date
2026-06-26T00:00:00.000Z

This change modifies gccrs to run the late name resolver on extern crates. Previously, this step was skipped because the content within the functions of extern crates was not directly used. However, function return types are resolved during late name resolution, necessitating its application to extern crates to ensure correct type checking.