Package: rust-swc-core
Version: 77.1.2+ds-2
Severity: important
Tags: patch upstream
Control: forwarded -1 https://github.com/swc-project/swc/issues/12813

The autopkgtest rust-swc_ecma_parser:default fails on armhf, and that
keeps 77.1.2+ds-2 out of testing:
https://ci.debian.net/packages/r/rust-swc-core/testing/armhf/77994695/

    ---- error::size_of_error stdout ----
    assertion `left == right` failed
      left: 4
     right: 8

The test asserts that Error is 8 bytes, but Error is a Box, so it's 4 on
32-bit. i386 will hit the same. It's new in ds-2 because that's the
first version that ships swc_ecma_parser.

The fix compares against size_of::<usize>() instead. I'll push it to
debian/latest as patch 1004_parser_error_size_32bit, with this bug in
the changelog. It builds on amd64 (297 tests, also on one CPU), autopkgtest
is 118/118, and the parser test passes on armhf under qemu.

Jonas, it'll be ready to upload as ds-3 whenever you like.

Juan

Reply via email to