about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-11-05 20:10:52 +0100
committerGitHub <noreply@github.com>2024-11-05 20:10:52 +0100
commitaa4fe48afe5c2e9062d702e187b7cb366b5aa33e (patch)
tree9ebd6803a69d38577d9bb173a5cd390091457db1 /compiler/rustc_codegen_llvm/src/lib.rs
parentbb50ebfca41c76c2f0a105dcfb25286013da7834 (diff)
parent613f53ef19c94e461428dff1df3db7fe9bed5fb9 (diff)
downloadrust-aa4fe48afe5c2e9062d702e187b7cb366b5aa33e.tar.gz
rust-aa4fe48afe5c2e9062d702e187b7cb366b5aa33e.zip
Rollup merge of #132571 - RalfJung:const_eval_select_macro, r=oli-obk
add const_eval_select macro to reduce redundancy

I played around a bit with a macro to make const_eval_select invocations look a bit nicer and avoid repeating the argument lists. Here's what I got. What do you think?

I didn't apply this everywhere yet because I wanted to gather feedback first.

The second commit moves the macros from https://github.com/rust-lang/rust/pull/132542 into a more sensible place. It didn't seem worth its own PR and would conflict with this PR if done separately.

Cc ``@oli-obk`` ``@saethlin`` ``@tgross35``

try-job: dist-aarch64-msvc
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions