]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rust: cfi: fix `patchable-function-entry` starting version
authorMiguel Ojeda <ojeda@kernel.org>
Wed, 25 Sep 2024 14:19:44 +0000 (16:19 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 26 Sep 2024 19:27:27 +0000 (21:27 +0200)
commitaf6017b6a315e9102582afb92640221d057f84f6
tree5ba4eb4a371ded18f16ada5aab947907f477182e
parentd065cc76054d21e48a839a2a19ba99dbc51a4d11
rust: cfi: fix `patchable-function-entry` starting version

The `-Zpatchable-function-entry` flag is available since Rust
1.81.0, not Rust 1.80.0, i.e. commit ac7595fdb1ee ("Support for -Z
patchable-function-entry") in upstream Rust.

Fixes: ca627e636551 ("rust: cfi: add support for CFI_CLANG with Rust")
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Fiona Behrens <me@kloenk.dev>
Link: https://lore.kernel.org/r/20240925141944.277936-1-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
init/Kconfig