Landing: 24ccf53df2ad

Project / Subsystem

gcc / gccrs

Date

2026-07-27

Author

Yap Zhi Heng

Commit

24ccf53df2ad1ddecca250692303be4b2ae35dbd

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
24ccf53df2ad1ddecca250692303be4b2ae35dbd
source_type
github
headline
gccrs: Gate `cfg_select!` macro behind `-frust-compat-version=1.90`
tldr
gccrs restricts `cfg_select!` macro availability based on the Rust compatibility version flag.
author
Yap Zhi Heng
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • compiler
  • • macro
  • • compatibility
discussion_id_link
—
bugzilla_pr
—
date
2026-07-27T00:00:00.000Z

GCC’s Rust front-end (gccrs) now conditionally enables the cfg_select! macro based on the -frust-compat-version=1.90 compiler flag. This commit updates the macro resolution logic and test cases to reflect this gating, ensuring that the macro is only available when explicitly requested through the compatibility version setting.