Re: [PATCH] rust: Makefile: apply fixed-x18 workaround only on arm64

From: Miguel Ojeda

Date: Mon Feb 02 2026 - 09:47:51 EST


On Mon, Feb 2, 2026 at 3:39 PM HeeSu Kim <mlksvender@xxxxxxxxx> wrote:
>
> On Tue, Feb 03, 2026, Miguel Ojeda wrote:
> > Could you please elaborate on the issues you are seeing, e.g. how to
> > reproduce them?
> >
> > The flag is only used to silence errors from checks that were added to
> > `rustc` and it is ignored otherwise (that is why the workaround was
> > written like that).
>
> After reviewing my build logs, I found that the error I encountered was
> "unknown codegen option: -Cunsafe-allow-abi-mismatch" because I was
> using rustc 1.85 at the time. The flag was added in rustc 1.88.
>
> So this was not an architecture-specific issue. I apologize for the
> confusion and would like to withdraw this patch.

Thanks for reporting and double-checking, and no worries, it happens! :)

Cheers,
Miguel