[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2025081411-skimming-roundworm-dc2b@gregkh>
Date: Thu, 14 Aug 2025 07:55:46 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Areej <areejhamid8560@...il.com>
Cc: rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>,
Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>,
Viresh Kumar <viresh.kumar@...aro.org>,
Tamir Duberstein <tamird@...il.com>,
Xiangfei Ding <dingxiangfei2009@...il.com>
Subject: Re: [PATCH] rust: lib: add if_cfg! macro for conditional compilation
On Thu, Aug 14, 2025 at 01:38:26AM +0500, Areej wrote:
> Add a new if_cfg! macro to simplify conditional compilation using
> cfg attributes. This macro expands to paired #[cfg(cond)] and
> #[cfg(not(cond))] blocks, allowing compile-time selection between
> code branches in both expression and statement contexts.
Nit, trailing whitespace in your text :(
>
> Suggested-by: Benno Lossin <lossin@...nel.org>
> Link: https://github.com/Rust-for-Linux/linux/issues/1183
> Signed-off-by: Areej Hamid <areejhamid8560@...il.com>
From: line does not match up with this text :(
thanks,
greg k-h
Powered by blists - more mailing lists