[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1111814: hx: FTBFS on 32 bit due to type mismatch



Source: hx
Severity: normal
Tags: ftbfs fixed-upstream
X-Debbugs-Cc: debian-arm@lists.debian.org
User: debian-qa@lists.debian.org
Usertags: i386
User: debian-arm@lists.debian.org
Usertags: armel armhf

The 32 bit buildds fail for the reason documented at https://github.com/helix-editor/helix/issues/13264

   Compiling helix-view v25.1.1 (/build/reproducible-path/hx-25.01.1+20250505/helix-view)
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=helix_view ...
error[E0308]: mismatched types
   --> helix-view/src/theme.rs:310:40
    |
310 |           Highlight(usize::from_ne_bytes([
    |  ___________________--------------------_^
    | |                   |
    | |                   arguments to this function are incorrect
311 | |             b,
312 | |             g,
313 | |             r,
...   |
318 | |             u8::MAX,
319 | |         ]))
    | |_________^ expected an array with a size of 4, found one with a size of 8
    |
note: associated function defined here
   --> /usr/src/rustc-1.85.0/library/core/src/num/mod.rs:1190:5
    = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info)

The fix is a side effect of a bigger refactoring with a new crate.


Reply to: