From: Mark Brown <broonie@kernel.org>
To: Alice Ryhl <aliceryhl@google.com>
Cc: "Andrey Ryabinin" <ryabinin.a.a@gmail.com>,
"Alexander Potapenko" <glider@google.com>,
"Andrey Konovalov" <andreyknvl@gmail.com>,
"Dmitry Vyukov" <dvyukov@google.com>,
"Vincenzo Frascino" <vincenzo.frascino@arm.com>,
"Nathan Chancellor" <nathan@kernel.org>,
"Nick Desaulniers" <nick.desaulniers+lkml@gmail.com>,
"Bill Wendling" <morbo@google.com>,
"Justin Stitt" <justinstitt@google.com>,
"Miguel Ojeda" <ojeda@kernel.org>,
"Boqun Feng" <boqun@kernel.org>, "Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Trevor Gross" <tmgross@umich.edu>,
"Danilo Krummrich" <dakr@kernel.org>,
linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com,
rust-for-linux@vger.kernel.org, llvm@lists.linux.dev
Subject: Re: [PATCH v3 1/2] rust: kasan: KASAN+RUST requires clang
Date: Wed, 27 May 2026 14:58:24 +0100 [thread overview]
Message-ID: <736d3bc7-9285-4c94-8a68-afb37ef27167@sirena.org.uk> (raw)
In-Reply-To: <20260408-kasan-rust-sw-tags-v3-1-e07964d14363@google.com>
[-- Attachment #1: Type: text/plain, Size: 479 bytes --]
On Wed, Apr 08, 2026 at 08:32:16AM +0000, Alice Ryhl wrote:
> Kernel KASAN involves passing various llvm/gcc specific arguments to
> the C and Rust compiler. Since these arguments differ between llvm and
> gcc, it's not safe to mix an llvm-based rustc with a gcc build when
> kasan is enabled.
FWIW this has the effect of turning off rust for an allmodconfig unless
you're using LLVM=1. That's probably the right thing to do but it means
you might've lost a bunch of coverage.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2026-05-27 13:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-08 8:32 [PATCH v3 0/2] rust: add support for Software Tag-Based KASAN Alice Ryhl
2026-04-08 8:32 ` [PATCH v3 1/2] rust: kasan: KASAN+RUST requires clang Alice Ryhl
2026-04-08 8:40 ` Miguel Ojeda
2026-05-27 13:58 ` Mark Brown [this message]
2026-05-27 15:07 ` Miguel Ojeda
2026-05-27 15:13 ` Mark Brown
2026-05-27 15:27 ` Miguel Ojeda
2026-05-27 16:08 ` Mark Brown
2026-04-08 8:32 ` [PATCH v3 2/2] rust: kasan: add support for Software Tag-Based KASAN Alice Ryhl
2026-04-08 11:55 ` [PATCH v3 0/2] rust: " Gary Guo
2026-05-27 8:53 ` Miguel Ojeda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=736d3bc7-9285-4c94-8a68-afb37ef27167@sirena.org.uk \
--to=broonie@kernel.org \
--cc=a.hindborg@kernel.org \
--cc=aliceryhl@google.com \
--cc=andreyknvl@gmail.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun@kernel.org \
--cc=dakr@kernel.org \
--cc=dvyukov@google.com \
--cc=gary@garyguo.net \
--cc=glider@google.com \
--cc=justinstitt@google.com \
--cc=kasan-dev@googlegroups.com \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=lossin@kernel.org \
--cc=morbo@google.com \
--cc=nathan@kernel.org \
--cc=nick.desaulniers+lkml@gmail.com \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=ryabinin.a.a@gmail.com \
--cc=tmgross@umich.edu \
--cc=vincenzo.frascino@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®