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

- From: Miguel Ojeda \<hidden\>
- Date: 2026-02-04 17:49:38 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/02/3401981
- Thread: https://ratatoskr.run/linuxppc-dev/2026/02/3400850/t.md

```text
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`?

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

```
