]> Gentwo Git Trees - linux/.git/commit
kbuild: rust: Enable KASAN support
authorMatthew Maurer <mmaurer@google.com>
Tue, 20 Aug 2024 19:48:58 +0000 (19:48 +0000)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 16 Sep 2024 16:04:37 +0000 (18:04 +0200)
commite3117404b41124c88a4d834fc3222669a880addc
tree8be4fff78e5090b51adec601b8b4b267541f173c
parentf64e2f3a66e30319023b7924d438d159ac742d63
kbuild: rust: Enable KASAN support

Rust supports KASAN via LLVM, but prior to this patch, the flags aren't
set properly.

Suggested-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Matthew Maurer <mmaurer@google.com>
Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Link: https://lore.kernel.org/r/20240820194910.187826-4-mmaurer@google.com
[ Applied "SW_TAGS KASAN" nit. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
scripts/Makefile.kasan
scripts/Makefile.lib
scripts/generate_rust_target.rs