Landing: ca2ff45ff6dd

Project / Subsystem

gcc / gccrs

Date

2026-08-05

Author

Enes Cevik

Commit

ca2ff45ff6dda8444bdd993bce955baceebb18a6

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
ca2ff45ff6dda8444bdd993bce955baceebb18a6
source_type
github
headline
gccrs: lang: Add DST support to Box and improve Box dispatch
tldr
gccrs now supports DSTs in Box and improves auto-dereferencing for Box.
author
Enes Cevik
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • compiler
  • • DST
  • • smart pointer
discussion_id_link
—
bugzilla_pr
—
date
2026-08-05T00:00:00.000Z

This patch enhances gccrs’ support for Rust’s Box type by enabling it to handle Dynamically Sized Types (DSTs). It also refines the auto-deref mechanism for Box, ensuring method dispatch, indexing, and tuple field access function correctly. Changes include modifications to how DST guards are handled, fat pointer creation, and expression type checking.