[PATCH V6 2/3] rust: Add PowerPC support

Mukesh Kumar Chaurasiya mkchauras at gmail.com
Mon Feb 23 13:21:59 AEDT 2026


On Mon, 23 Feb 2026 at 00:41, Miguel Ojeda <miguel.ojeda.sandonis at gmail.com>
wrote:

> On Sun, Feb 22, 2026 at 8:07 PM Link Mauve <linkmauve at linkmauve.fr> wrote:
> >
> > Should we come back to describing the target like I did in my first
> > patch[1] in scripts/generate_rust_target.rs, or should I bring that to
> > Rust to create a powerpc-unknown-unknown-softfloat target upstream?  Or
> > is there a better third solution I’m not thinking of?
>
> We are trying to stop using the custom target specs, so we should ask
> upstream to give you a built-in target you can use (or equivalently, a
> flag to do what you need, but I think the idea is to not have such a
> flag).
>
> i.e. even if you used the custom target JSON, we would still need to
> ask, since the goal is to remove that script entirely.
>
> Thanks!
>
> Cheers,
> Miguel


I think disabling altivec, fp and vsx  with compiler flag will work.

What is your opinion on this?

Regards,
Mukesh

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20260223/0b4f87b1/attachment.htm>


More information about the Linuxppc-dev mailing list