Landing: dcb6355b2a41

Project / Subsystem

gcc / gccrs

Date

2026-07-07

Author

Pierre-Emmanuel Patry

Commit

dcb6355b2a4162ca4b7eae14b970e9f62b90ec3a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
dcb6355b2a4162ca4b7eae14b970e9f62b90ec3a
source_type
github
headline
gccrs: Remove metadata export visitor
tldr
gccrs: Simplifies metadata export by dumping the AST directly.
author
Pierre-Emmanuel Patry
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • metadata
  • • AST
  • • compiler internals
discussion_id_link
—
bugzilla_pr
—
date
2026-07-07T00:00:00.000Z

This commit removes the dedicated metadata export visitor in gccrs, opting instead to directly dump the Abstract Syntax Tree (AST) into metadata files. This change is made because the existing metadata format is incomplete and does not support trait implementations, which are expected to change soon. While this approach is slower, it is considered more complete and correct for the current state of metadata handling in the compiler.