Skip to content

Test failure in 32-bit machine #1220

Open
@icp1994

Description

@icp1994

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`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions