diff options
| author | Alice Ryhl <aliceryhl@google.com> | 2026-04-08 08:32:16 +0000 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-05-27 01:54:22 +0200 |
| commit | 5b271543d0f08e9733d4732721e960e285f6448f (patch) | |
| tree | 215f02f4b44616da4a5df796e80a9c07380208a7 /rust/kernel/alloc/kvec/errors.rs | |
| parent | a960c2cdb19e237f284a3b96eb8a0359abcf0e63 (diff) | |
rust: kasan: KASAN+RUST requires clang
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.
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Cc: stable@vger.kernel.org
Fixes: e3117404b411 ("kbuild: rust: Enable KASAN support")
Link: https://patch.msgid.link/20260408-kasan-rust-sw-tags-v3-1-e07964d14363@google.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions
