about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-08-14 21:48:42 +0200
committerGitHub <noreply@github.com>2025-08-14 21:48:42 +0200
commit01bd889098a6d9f7125bf4643d60ce9b95c8edf6 (patch)
treee223edd3f8cb1408e1ff4e0a53e8e3562ca6e6fc /compiler/rustc_codegen_llvm/src
parentfadd083512ce90d359a4ee07a8454a69c5538527 (diff)
parent38df15805ba5be78d70c515f1d585ee6be95e13b (diff)
downloadrust-01bd889098a6d9f7125bf4643d60ce9b95c8edf6.tar.gz
rust-01bd889098a6d9f7125bf4643d60ce9b95c8edf6.zip
Rollup merge of #145233 - joshtriplett:cfg-select-expr, r=jieyouxu
cfg_select: Support unbraced expressions

Tracking issue for `cfg_select`: rust-lang/rust#115585

When operating on expressions, `cfg_select!` can now handle expressions
without braces. (It still requires braces for other things, such as
items.)

Expand the test coverage and documentation accordingly.

---

I'm not sure whether deciding to extend `cfg_select!` in this way is T-lang or T-libs-api. I've labeled for both, with the request that both teams don't block on each other. :)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions