Landing: 2be06e73fcef

Project / Subsystem

gcc / gccrs

Date

2026-07-13

Author

Enes Cevik

Commit

2be06e73fcefc311a78bceb15f725b5ae7c6bee6

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
2be06e73fcefc311a78bceb15f725b5ae7c6bee6
source_type
github
headline
gccrs: Register lang items for alloc crate
tldr
gccrs: Registers stub language items to enable compilation of the alloc crate.
author
Enes Cevik
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • alloc crate
  • • language items
  • • compiler internals
discussion_id_link
—
bugzilla_pr
—
date
2026-07-13T00:00:00.000Z

This patch registers several language items as stubs to enable the compilation of the ‘alloc’ crate in gccrs. Stubs are used for items like ‘oom’, ‘alloc_layout’, ‘box_free’, ‘drop_in_place’, ‘maybe_uninit’, async-related items, and generator support, as their full implementation requires more mature infrastructure within the compiler. New tests are added to verify the registration of these stub language items.