Landing: 1e03e93a7163
Project / Subsystem
gcc / gccrs
Date
2026-07-08
Author
Pierre-Emmanuel Patry
Commit
1e03e93a7163d9c6571114d50b8c8ad83478600a
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 1e03e93a7163d9c6571114d50b8c8ad83478600a
- source_type
- github
- headline
- gccrs: Use canonical path for Clone trait within derive
- tldr
- gccrs: Fixes Clone trait path in derive macro to work with core library.
- author
- Pierre-Emmanuel Patry
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • derive macros
- • Clone trait
- • compiler internals
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-08T00:00:00.000Z
This patch corrects how the Clone trait is referenced within the derive macro implementation in gccrs. Previously, using a local path for Clone caused issues when compiling against the core library, breaking tests that emulated core functionality. The change ensures that the canonical path to Clone is used, resolving these compilation errors and improving compatibility.