Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure in 32-bit machine #1220

Open
icp1994 opened this issue Jan 29, 2023 · 1 comment
Open

Test failure in 32-bit machine #1220

icp1994 opened this issue Jan 29, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@icp1994
Copy link

icp1994 commented Jan 29, 2023

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 icp1994 added the bug Something isn't working label Jan 29, 2023
@fabricereix
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants