Re: [PATCH 4/4] s390: enable Rust support

From: Miguel Ojeda

Date: Tue May 12 2026 - 08:11:17 EST


On Tue, May 12, 2026 at 1:00 PM Jan Polensky <japo@xxxxxxxxxxxxx> wrote:
>
> Signed-off-by: Jan Polensky <japo@xxxxxxxxxxxxx>

Closes: https://github.com/Rust-for-Linux/linux/issues/106

I am happy to see IBM getting involved and being able to close a 5
year issue! :)

I backlinked there this thread.

> +KBUILD_RUSTFLAGS += --target=s390x-unknown-none-softfloat -Zpacked-stack -Ctarget-feature=+backchain

I added `-Zpacked-stack` and a bunch of related links to:

https://github.com/Rust-for-Linux/linux/issues/2

Is there a tracking issue for it? I linked
https://github.com/rust-lang/rust/issues/150259 for the backchain
feature.

> + if [ "$SRCARCH" = "s390" ]; then
> + echo 1.97.0-nightly

`-Zpacked-stack` landed for 1.96. Is there something queued for 1.97?
If not, does the beta work?

Either way, I would prefer waiting until we know the actual version
number, i.e. without `-nightly`. It is just a few weeks away anyway.

Thanks!

Cheers,
Miguel