[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72=FJSRwOPNG4ZFeoex3MssTjmhozp5Xd++PTCCSJaJ3hA@mail.gmail.com>
Date: Thu, 4 Sep 2025 01:27:03 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Asuna Yang <spriteovo@...il.com>
Cc: Conor Dooley <conor@...nel.org>, Jason Montleon <jmontleo@...hat.com>,
Han Gao <rabenda.cn@...il.com>, 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>, Jonathan Corbet <corbet@....net>,
Paul Walmsley <paul.walmsley@...ive.com>, Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>, Alexandre Ghiti <alex@...ti.fr>,
Masahiro Yamada <masahiroy@...nel.org>, Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <nick.desaulniers+lkml@...il.com>, Bill Wendling <morbo@...gle.com>,
Justin Stitt <justinstitt@...gle.com>, Tejun Heo <tj@...nel.org>, Kees Cook <kees@...nel.org>,
Peter Zijlstra <peterz@...radead.org>, Matthew Maurer <mmaurer@...gle.com>, Jeff Xu <jeffxu@...omium.org>,
Shakeel Butt <shakeel.butt@...ux.dev>, Jan Hendrik Farr <kernel@...rr.cc>,
Michal Koutný <mkoutny@...e.com>,
Christian Brauner <brauner@...nel.org>, Brian Gerst <brgerst@...il.com>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org,
linux-kbuild@...r.kernel.org, llvm@...ts.linux.dev,
rust-for-linux <rust-for-linux@...r.kernel.org>
Subject: Re: [PATCH 2/2] RISC-V: re-enable gcc + rust builds
On Wed, Sep 3, 2025 at 9:08 PM Asuna Yang <spriteovo@...il.com> wrote:
>
> Commit 33549fcf37ec ("RISC-V: disallow gcc + rust builds") disabled GCC
> + Rust builds for RISC-V due to differences in extension handling
> compared to LLVM.
>
> Add a Kconfig non-visible symbol to ensure that all important RISC-V
> specific flags that will be used by GCC can be correctly recognized by
> Rust bindgen's libclang, otherwise config HAVE_RUST will not be
> selected.
I think the commit message should try to explain each the changes here
(or to split them).
e.g. it doesn't mention the other config symbols added, nor the extra
flag skipped, nor the `error` call.
Cc'ing the rust-for-linux list.
Thanks!
Cheers,
Miguel
Powered by blists - more mailing lists