Landing: 13be1e801940
Project / Subsystem
gcc / gccrs
Date
2026-08-30
Author
Philip Herron
Commit
13be1e80194088730f09dc546f2d0e89322ef878
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 13be1e80194088730f09dc546f2d0e89322ef878
- source_type
- github
- headline
- gccrs: Implement extern types by reusing ADT with an extern kind
- tldr
- gccrs now represents extern types using an ADT with a new 'extern' kind.
- author
- Philip Herron
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • rust
- • ffi
- • types
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-30T00:00:00.000Z
This commit introduces support for extern types in gccrs by reusing the existing ADTType. A new ADTKind ‘extern’ is added to represent these opaque types. This change is accompanied by updates to various backend and type-checking components, along with new test cases for extern type compilation.