Landing: 8965fd129964

Project / Subsystem

gcc / gccrs

Date

2026-08-10

Author

Enes Cevik

Commit

8965fd1299643bf968a959e07d6cd400d34199e7

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
8965fd1299643bf968a959e07d6cd400d34199e7
source_type
github
headline
gccrs: lang: Add dispatch_from_dyn for Box
tldr
Implement dispatch_from_dyn lang item for Box in gccrs.
author
Enes Cevik
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • compiler
  • • language feature
discussion_id_link
—
bugzilla_pr
—
date
2026-08-10T00:00:00.000Z

The gccrs compiler now supports the ‘dispatch_from_dyn’ language item specifically for the ‘Box’ type. This enables correct dynamic dispatch for Boxed values. While other smart pointers could also use this feature, they are not yet fully supported. This change includes updates to the expression compiler, type checker, and language item registration.