# Re: \[PATCH\] powerpc: Enable Rust for ppc64le

- From: Mukesh Kumar Chaurasiya \<hidden\>
- Date: 2026-02-04 17:57:00 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/02/3401995
- Thread: https://ratatoskr.run/linuxppc-dev/2026/02/3400850/t.md

```text
On Wed, Feb 04, 2026 at 06:49:23PM +0100, Miguel Ojeda wrote:
> On Wed, Feb 4, 2026 at 6:54 AM Mukesh Kumar Chaurasiya (IBM)
> [ref] wrote:
> >
> > +    } else if cfg.has("PPC64") {
> 
> Can this be done via flags, i.e. avoiding the `target.json`?
> 
yeah sure. I'll do that.
> We are trying to avoid adding new custom targets, since the idea is to
> remove our reliance on `target.json`.
> 
> If it is not possible to do it via flags only, then we should talk to
> upstream to add the needed flags or perhaps a new built-in target.
> 
> Thanks!
> 
> (By the way, Michael back in 2021 did the original integration of
> ppc64le before Rust was merged into mainline -- he may want to take a
> look at this :) I see he is in Cc).
> 
> Cheers,
> Miguel

```
