Landing: 88ff00bf0830

Project / Subsystem

gcc / gccrs

Date

2026-07-17

Author

Enes Cevik

Commit

88ff00bf08303bb4e0346b35984f59edd40081cd

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
88ff00bf08303bb4e0346b35984f59edd40081cd
source_type
github
headline
gccrs: Implement 'unsize' lang item
tldr
The 'unsize' language item is now implemented in the GCC Rust front-end.
author
Enes Cevik
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • language feature
  • • type system
discussion_id_link
—
bugzilla_pr
—
date
2026-07-17T00:00:00.000Z

This patch introduces the ‘unsize’ language item to the GCC Rust compiler. This item is crucial for handling unsized types, enabling features like array-to-slice coercions by providing a way for types to express their relationship with unsized counterparts.