Landing: 57a148f47e0d

Project / Subsystem

gcc / gccrs

Date

2026-07-27

Author

Yap Zhi Heng

Commit

57a148f47e0d5ab56df6207a1372f4cc4b4c7792

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
57a148f47e0d5ab56df6207a1372f4cc4b4c7792
source_type
github
headline
gccrs: Backport `cfg_select!` macro, gate behind version flag
tldr
gccrs backports the `cfg_select!` macro and gates it behind a compatibility version flag.
author
Yap Zhi Heng
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • backport
  • • macro
  • • compatibility
discussion_id_link
—
bugzilla_pr
—
date
2026-07-27T00:00:00.000Z

The cfg_select! macro, essential for compiling Rust’s c_char type used in widespread CStr implementations, has been backported into gccrs. To manage compatibility, its usage is now gated behind the -frust-compat-version=1.90 flag. This ensures that newer Rust features are available while maintaining stability for older projects.