Re: [PATCH v6 6/6] s390: Enable Rust support

From: Alice Ryhl

Date: Tue Jun 16 2026 - 03:45:03 EST


On Mon, Jun 15, 2026 at 06:45:26PM +0200, Miguel Ojeda wrote:
> On Mon, Jun 15, 2026 at 6:40 PM Nathan Chancellor <nathan@xxxxxxxxxx> wrote:
> >
> > With Rust 1.96.0, I see the following warning several times when
> > building Rust code in -next:
> >
> > warning: unstable feature specified for `-Ctarget-feature`: `backchain`
> > |
> > = note: this feature is not stably supported; its behavior can change in the future
> >
> > warning: 1 warning emitted
> >
> > I assume this is expected? If so, is there a way to silence this warning?
>
> Yes, it seems so -- please see this thread:
>
> https://lore.kernel.org/rust-for-linux/CANiq72m4GVWFYqnxNtCHTPu7XcGewHB5LNwOoayTfnXs9pPbNg@xxxxxxxxxxxxxx/
>
> If they are OK with it, then I guess it is fine, but it does mean CIs
> can suffer a bit from it.

Since fixing this requires a change in rustc to recognize the backchain
target feature, has this work been started? I think that for stuff like
this, we should make to at least start working on fixing the warning so
that we don't emit a warning forever.

Alice