[PATCH] rust: arm64: set uwtable llvm module flag for CONFIG_UNWIND_TABLES
Catalin Marinas
catalin.marinas at arm.com
Fri May 29 08:15:40 PDT 2026
On Fri, May 29, 2026 at 04:29:26PM +0200, Miguel Ojeda wrote:
> On Fri, May 29, 2026 at 8:32 AM Alice Ryhl <aliceryhl at google.com> wrote:
> > Hrm, is there a way to perform the version check in the Makefile, or do
> > I need a Kconfig for whether the fix is needed?
>
> We shouldn't need a Kconfig -- we can do e.g.
>
> KBUILD_RUSTFLAGS += $(if $(call
> rustc-min-version,109800),,-Zllvm_module_flag=uwtable:u32:2:max)
>
> I tested with 1.96 and nightly -- I can apply it to the Rust tree if
> arm64 prefers.
Please do.
--
Catalin
More information about the linux-arm-kernel
mailing list