Landing: 0e83516f1901

Project / Subsystem

gcc / gccrs

Date

2026-07-22

Author

Enes Cevik

Commit

0e83516f1901f7ff7a394290fde21f49ecf473d6

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
0e83516f1901f7ff7a394290fde21f49ecf473d6
source_type
github
headline
gccrs: backend: Add DST ADT support
tldr
gccrs backend now supports Dynamically Sized Types (DSTs) in Algebraic Data Types (ADTs).
author
Enes Cevik
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • compiler
  • • backend
  • • DST
discussion_id_link
—
bugzilla_pr
—
date
2026-07-22T00:00:00.000Z

The gccrs compiler’s backend has gained support for Dynamically Sized Types (DSTs) within Algebraic Data Types (ADTs). Previously, DST fields were embedded directly, but now the compiler correctly identifies unsized ADTs, preserves their layout, and generates fat pointers for references. This enables correct handling of unsized ADTs that follow unsize coercion rules.