Debian Patches

Status for rust-rspirv/0.13.0-2

Patch Description Author Forwarded Bugs Origin Last update
normalize-layout.patch no
fix-s390x-tests.patch Fix parse_words() on big-endian targets parse_words() reinterpreted the host-endian in-memory bytes of the input
&[u32] as a byte buffer, but the decoder always reads words as little-endian
(from_le_bytes). On big-endian hosts (e.g. s390x) this byte-swaps every word,
so the SPIR-V magic number is read swapped and parsing fails with
EndiannessUnsupported, breaking test_parse_words.
.
Keep the zero-copy reinterpretation on little-endian targets and re-serialize
each word into little-endian byte order on big-endian targets. Verified on
both x86_64 and s390x (the latter under qemu-s390x).
Nadzeya Hutsko <nh@nadzeya.me> yes 2026-05-31

All known versions for source package 'rust-rspirv'

Links