hurl icon indicating copy to clipboard operation
hurl copied to clipboard

Test failure in 32-bit machine

Open icp1994 opened this issue 2 years ago • 1 comments

As of v2.0.0, cargo test --release --target i686-unknown-linux-gnu fails with

   Compiling hurl v2.0.0 (/builddir/hurl-2.0.0/packages/hurl)
error: literal out of range for `usize`
   --> packages/hurl/src/html/unescape.rs:454:19
    |
454 |         check_num(1000000000000000000, "\u{FFFD}");
    |                   ^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[deny(overflowing_literals)]` on by default
    = note: the literal `1000000000000000000` does not fit into the type `usize` whose range is `0..=4294967295`

icp1994 avatar Jan 29 '23 07:01 icp1994

Thanks @icp1994 for reporting the bug. we will ignore this test for the 32bit architecture.

fabricereix avatar Feb 02 '23 10:02 fabricereix