]> www.infradead.org Git - users/jedix/linux-maple.git/commit
objtool/kbuild/rust: enable objtool for Rust
authorMiguel Ojeda <ojeda@kernel.org>
Thu, 25 Jul 2024 18:33:23 +0000 (20:33 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 18 Aug 2024 21:34:37 +0000 (23:34 +0200)
commitc4d7f546dd9aa9780716cdb07416ca97264dce43
treedd52cdb3f6a8b4e3ae336de776e372980215f380
parent56d680dd23c38067a32fb8aeb74d6ce838fcf26c
objtool/kbuild/rust: enable objtool for Rust

Now that we should be `objtool`-warning free, enable `objtool` for
Rust too.

Before this patch series, we were already getting warnings under e.g. IBT
builds, since those would see Rust code via `vmlinux.o`.

Tested-by: Alice Ryhl <aliceryhl@google.com>
Tested-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://lore.kernel.org/r/20240725183325.122827-7-ojeda@kernel.org
[ Solved trivial conflict. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/Makefile
scripts/Makefile.build